<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic counting number of cells in a column with a given value in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/counting-number-of-cells-in-a-column-with-a-given-value/m-p/3630#M3630</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If all you want to know is how many times each value occurs in a given column, you could simply use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables menu -&amp;gt; Summary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the column in the field for 'Group'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resulting table should have 2 columns, the first being all the values that occur, and the second being the number of times each occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 04 Aug 2011 23:24:52 GMT</pubDate>
    <dc:creator>bgouaux</dc:creator>
    <dc:date>2011-08-04T23:24:52Z</dc:date>
    <item>
      <title>counting number of cells in a column with a given value</title>
      <link>https://community.jmp.com/t5/Discussions/counting-number-of-cells-in-a-column-with-a-given-value/m-p/3628#M3628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to count the number of cells in a column with zero as the value (or another arbitrary number).&amp;nbsp; Ideally, the results would be outputted as a list of counts.&amp;nbsp; Can someone point me in the right direction?&amp;nbsp; Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 20:46:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/counting-number-of-cells-in-a-column-with-a-given-value/m-p/3628#M3628</guid>
      <dc:creator />
      <dc:date>2011-08-04T20:46:30Z</dc:date>
    </item>
    <item>
      <title>counting number of cells in a column with a given value</title>
      <link>https://community.jmp.com/t5/Discussions/counting-number-of-cells-in-a-column-with-a-given-value/m-p/3629#M3629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would think that the easiest solution would be to simply use proc freq outputting the results to a file and then post-processing the output file for whatever criteria you need.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 22:09:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/counting-number-of-cells-in-a-column-with-a-given-value/m-p/3629#M3629</guid>
      <dc:creator />
      <dc:date>2011-08-04T22:09:47Z</dc:date>
    </item>
    <item>
      <title>counting number of cells in a column with a given value</title>
      <link>https://community.jmp.com/t5/Discussions/counting-number-of-cells-in-a-column-with-a-given-value/m-p/3630#M3630</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If all you want to know is how many times each value occurs in a given column, you could simply use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tables menu -&amp;gt; Summary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Enter the column in the field for 'Group'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resulting table should have 2 columns, the first being all the values that occur, and the second being the number of times each occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Ben&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 23:24:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/counting-number-of-cells-in-a-column-with-a-given-value/m-p/3630#M3630</guid>
      <dc:creator>bgouaux</dc:creator>
      <dc:date>2011-08-04T23:24:52Z</dc:date>
    </item>
    <item>
      <title>counting number of cells in a column with a given value</title>
      <link>https://community.jmp.com/t5/Discussions/counting-number-of-cells-in-a-column-with-a-given-value/m-p/3631#M3631</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this should get you close:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dt &amp;lt;&amp;lt; Current Data Table();&lt;/P&gt;&lt;P&gt;cols = dt &amp;lt;&amp;lt; Get Selected Columns();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;counts = NewTable("Counts for "||char(dt&amp;lt;&amp;lt;Get Name),newColumn("Column"),newColumn("Count"));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for(i = 1, i &amp;lt;= NItems(cols), i++,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; r = dt &amp;lt;&amp;lt; Select Where( ascolumn(eval(cols&lt;I&gt;)) == 0 );&lt;/I&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; counts &amp;lt;&amp;lt; AddRows({:Column = column(dt,cols&lt;I&gt;)&amp;lt;&amp;lt; Get Name, :Count = NItems(r)});&lt;/I&gt;&lt;/P&gt;&lt;P&gt;);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I didn't test this.&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Aug 2011 17:50:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/counting-number-of-cells-in-a-column-with-a-given-value/m-p/3631#M3631</guid>
      <dc:creator />
      <dc:date>2011-08-05T17:50:08Z</dc:date>
    </item>
  </channel>
</rss>

