<?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 Re: counting total item in each cell that contain different pattern in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/counting-total-item-in-each-cell-that-contain-different-pattern/m-p/479442#M72362</link>
    <description>&lt;P&gt;This is amazing! I was only able to do one type str count. I learn new thing. Thanks a lot.&lt;/P&gt;</description>
    <pubDate>Fri, 15 Apr 2022 00:48:07 GMT</pubDate>
    <dc:creator>dadawasozo</dc:creator>
    <dc:date>2022-04-15T00:48:07Z</dc:date>
    <item>
      <title>counting total item in each cell that contain different pattern</title>
      <link>https://community.jmp.com/t5/Discussions/counting-total-item-in-each-cell-that-contain-different-pattern/m-p/479361#M72357</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I want to get the total count of the item in the cell under setting columns. Can someone give me suggestion how I can code it so it will take the value under :setting column and count the total number like what shown under :Total Items. Many Thanks.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dadawasozo_0-1649977351362.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/41739i8B4402E40AD604CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dadawasozo_0-1649977351362.png" alt="dadawasozo_0-1649977351362.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:57:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/counting-total-item-in-each-cell-that-contain-different-pattern/m-p/479361#M72357</guid>
      <dc:creator>dadawasozo</dc:creator>
      <dc:date>2023-06-09T16:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: counting total item in each cell that contain different pattern</title>
      <link>https://community.jmp.com/t5/Discussions/counting-total-item-in-each-cell-that-contain-different-pattern/m-p/479441#M72361</link>
      <description>&lt;P&gt;Here is the formula for the column Total Items, that I came up with.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;count = 0;
i = 1;
While( Word( i, :setting, "," ) != "",
	theWord = Word( i, :setting, "," );
	If( Contains( theWord, "-" ) | Contains( theWord, ":" ),
		Show( Row(), theWord );
		count = ((count + Num( Word( 2, theWord, "-:" ) )) - Num( Word( 1, theWord, "-:" ) )) + 1;
	,
		count
		++);
	i++;
);
count;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 00:32:30 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/counting-total-item-in-each-cell-that-contain-different-pattern/m-p/479441#M72361</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2022-04-15T00:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: counting total item in each cell that contain different pattern</title>
      <link>https://community.jmp.com/t5/Discussions/counting-total-item-in-each-cell-that-contain-different-pattern/m-p/479442#M72362</link>
      <description>&lt;P&gt;This is amazing! I was only able to do one type str count. I learn new thing. Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Apr 2022 00:48:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/counting-total-item-in-each-cell-that-contain-different-pattern/m-p/479442#M72362</guid>
      <dc:creator>dadawasozo</dc:creator>
      <dc:date>2022-04-15T00:48:07Z</dc:date>
    </item>
  </channel>
</rss>

