<?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: IDENTIFY LARGEST 3 VALUES TO CREATE INDICATOR COLUMNS in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/IDENTIFY-LARGEST-3-VALUES-TO-CREATE-INDICATOR-COLUMNS/m-p/677840#M86421</link>
    <description>&lt;P&gt;Here is a formula that will work.&amp;nbsp; Just change the comparison column from A to B to etc.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If(
	:"Utility - A"n &amp;gt;= Sort Descending(
		Matrix( :"Utility - A"n ) || Matrix( :"Utility - B"n ) || Matrix( :"Utility - C"n ) ||
		Matrix( :"Utility - D"n ) || Matrix( :"Utility - E"n )
	)[3],
	1,
	0
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 14 Sep 2023 16:26:36 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2023-09-14T16:26:36Z</dc:date>
    <item>
      <title>IDENTIFY LARGEST 3 VALUES TO CREATE INDICATOR COLUMNS</title>
      <link>https://community.jmp.com/t5/Discussions/IDENTIFY-LARGEST-3-VALUES-TO-CREATE-INDICATOR-COLUMNS/m-p/677778#M86415</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm a trying to compare across column values (Utility A to Utility E) to identify the largest 3 values and put the results into indicator columns ("Top 3 - A" to "Top 3 - E"). &amp;nbsp;So, if "Utility A" is one of the largest 3 values in the row, "Top 3 - A" would receive a "1". &amp;nbsp;If the value is NOT one of the 3 largest in the row, "Top 3 - A" would receive a "0".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using "Match", but wasn't able to get it to work. &amp;nbsp;Appreciate any help folks could provide!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2023-09-14 at 9.49.00 AM.png" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/56647i4A569F92D3528794/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2023-09-14 at 9.49.00 AM.png" alt="Screenshot 2023-09-14 at 9.49.00 AM.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 14:00:25 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/IDENTIFY-LARGEST-3-VALUES-TO-CREATE-INDICATOR-COLUMNS/m-p/677778#M86415</guid>
      <dc:creator>EH1</dc:creator>
      <dc:date>2023-09-14T14:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: IDENTIFY LARGEST 3 VALUES TO CREATE INDICATOR COLUMNS</title>
      <link>https://community.jmp.com/t5/Discussions/IDENTIFY-LARGEST-3-VALUES-TO-CREATE-INDICATOR-COLUMNS/m-p/677840#M86421</link>
      <description>&lt;P&gt;Here is a formula that will work.&amp;nbsp; Just change the comparison column from A to B to etc.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If(
	:"Utility - A"n &amp;gt;= Sort Descending(
		Matrix( :"Utility - A"n ) || Matrix( :"Utility - B"n ) || Matrix( :"Utility - C"n ) ||
		Matrix( :"Utility - D"n ) || Matrix( :"Utility - E"n )
	)[3],
	1,
	0
)&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 14 Sep 2023 16:26:36 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/IDENTIFY-LARGEST-3-VALUES-TO-CREATE-INDICATOR-COLUMNS/m-p/677840#M86421</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2023-09-14T16:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: IDENTIFY LARGEST 3 VALUES TO CREATE INDICATOR COLUMNS</title>
      <link>https://community.jmp.com/t5/Discussions/IDENTIFY-LARGEST-3-VALUES-TO-CREATE-INDICATOR-COLUMNS/m-p/677856#M86423</link>
      <description>&lt;P&gt;Thank you so much, Txnelson! &amp;nbsp;This is exactly what I needed! &amp;nbsp;I greatly appreciate you taking the time to share your expertise!!&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 17:14:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/IDENTIFY-LARGEST-3-VALUES-TO-CREATE-INDICATOR-COLUMNS/m-p/677856#M86423</guid>
      <dc:creator>EH1</dc:creator>
      <dc:date>2023-09-14T17:14:33Z</dc:date>
    </item>
  </channel>
</rss>

