<?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: Is it possible in JMP to re-create the &amp;quot;INDEX(MATCH()) formula combination available in Excel? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/324673#M57405</link>
    <description>&lt;P&gt;Here is the formula I came up with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;curName = :NAME;
curY = :Y;
theResult = 0;
If( :Y != 0,
	theRows = Current Data Table() &amp;lt;&amp;lt; get rows where( :NAME == curName &amp;amp; :ID == curY );
	If( Is Missing( theRows ) != 1,
		theResult = :X[theRows]
	);
,
	theResult = 0
);
theResult;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 21 Oct 2020 15:56:38 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2020-10-21T15:56:38Z</dc:date>
    <item>
      <title>Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/324629#M57398</link>
      <description>&lt;P&gt;Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?&lt;/P&gt;&lt;P&gt;This is the table I am working on:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example.JPG" style="width: 717px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/27545i5AE72FB225014BB4/image-dimensions/717x165?v=v2" width="717" height="165" role="button" title="Example.JPG" alt="Example.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;In the column “Result” I want to put a particular value which respond to this rule:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;If (“Y” is not 0) Return the “X” value contained in the cell with the same “NAME” as the current cell and with “ID” equal to the index indicated in “Y” (in this case 5).&lt;/LI&gt;&lt;LI&gt;Basically in the first row I want that “Result” contains “4.7”&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;a href="https://community.jmp.com/t5/user/viewprofilepage/user-id/2687"&gt;@txnelson&lt;/a&gt;&amp;nbsp; you are the JMP wizard :)&lt;/img&gt; Do you believe it is possible?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 23:20:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/324629#M57398</guid>
      <dc:creator>PeppeCanta</dc:creator>
      <dc:date>2023-06-10T23:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/324673#M57405</link>
      <description>&lt;P&gt;Here is the formula I came up with&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;curName = :NAME;
curY = :Y;
theResult = 0;
If( :Y != 0,
	theRows = Current Data Table() &amp;lt;&amp;lt; get rows where( :NAME == curName &amp;amp; :ID == curY );
	If( Is Missing( theRows ) != 1,
		theResult = :X[theRows]
	);
,
	theResult = 0
);
theResult;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 21 Oct 2020 15:56:38 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/324673#M57405</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2020-10-21T15:56:38Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404259#M65461</link>
      <description>&lt;P&gt;Hi All, i need expert advise on it. Currently i working on Index Match with using the same method / formula that you guys provided. I got return value of "0".&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My data as shown below. Hope someone can help me on this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;* ID &amp;amp; Y column data from time converted to seconds.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dexue_0-1627395040002.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34587i8BAF740D9289EE2F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dexue_0-1627395040002.png" alt="dexue_0-1627395040002.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Formula:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;curY = :Y;
theResult = 0;
If( :Y != 0,
	theRows = Current Data Table() &amp;lt;&amp;lt; get rows where( :ID == curY );
	If( Is Missing( theRows ) != 1,
		theResult = :X[theRows]
	);
,
	theResult = 0
);
theResult;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 14:28:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404259#M65461</guid>
      <dc:creator>dexue</dc:creator>
      <dc:date>2021-07-27T14:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404265#M65462</link>
      <description>&lt;P&gt;The results I get when running against your Example data table, using your supplied formula is:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1627396960733.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34588iA6FDA7542770D98F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="txnelson_0-1627396960733.png" alt="txnelson_0-1627396960733.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have attached the Example data table, with the formula applied&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jul 2021 14:44:13 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404265#M65462</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-07-27T14:44:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404596#M65511</link>
      <description>&lt;P&gt;Thanks Jim! I found that my file not working because column ID with decimal point and Y column without decimal point.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I had tried another set data which with date in the column ID and Y (Y with formula 1st cell add 5sec of start time and subsequent cell increment of 1second) as below. But I still getting "0" for result column. I need your advice on it. I'm appreciate of your help and guide. Attached with my example. Thanks and appreciate!&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="dexue_0-1627440753477.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34597iD0CC6E861BEB8DD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dexue_0-1627440753477.png" alt="dexue_0-1627440753477.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 02:58:52 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404596#M65511</guid>
      <dc:creator>dexue</dc:creator>
      <dc:date>2021-07-28T02:58:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404634#M65515</link>
      <description>&lt;P&gt;If you do a full display of the ID and Y columns in your supplied data table, you will see that except for the 1st row, all of the subsequent rows have a decimal value of .967.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="txnelson_0-1627443402451.png" style="width: 526px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34599i294382C431BB9500/image-dimensions/526x539?v=v2" width="526" height="539" role="button" title="txnelson_0-1627443402451.png" alt="txnelson_0-1627443402451.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The Y column has no such decimal value, so the values between them will never match.&amp;nbsp; I believe that you need to determine if the .967 needs to be rounded up, or removed, and then perform that operation to adjust your data, and then create the formula column.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 03:37:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404634#M65515</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-07-28T03:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404740#M65528</link>
      <description>&lt;P&gt;Great ,Thanks Jim! It works after I rounded up column "ID". Finally i got what I want.&lt;/P&gt;&lt;P&gt;But I still don't understand the logic that datetime converted to numeric. Although the time (ID &amp;amp; Y) both are similar.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to copy another set of data which included measurement value (T Temperature) and date (TDate), time (T Measure Time) from Text file to excel file and to the JMP data table, Column 13 (Result) shown failed. I checked the numeric number (T time vs TMeasure Time) which different. Do you have any idea on this?&amp;nbsp;&lt;SPAN&gt;Thanks and appreciate for your guidance!&lt;/SPAN&gt;&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="dexue_0-1627476897599.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34610i12CA9FFFB54BBDE3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dexue_0-1627476897599.png" alt="dexue_0-1627476897599.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 13:00:10 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404740#M65528</guid>
      <dc:creator>dexue</dc:creator>
      <dc:date>2021-07-28T13:00:10Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404741#M65529</link>
      <description>&lt;P&gt;You are indicating the data are coming in from Excel.&amp;nbsp; What method are you using to get the data from Excel to JMP? Problems can come from the way Excel saves values and also from JMP dealing with Excel.&lt;/P&gt;
&lt;P&gt;I am not an Excel expert, but if you can provide the steps you are taking from text to Excel to JMP and how you are performing those steps, and maybe even samples of the text, Excel and JMP files, the Discussion Community members maybe able to help.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jul 2021 13:20:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/404741#M65529</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-07-28T13:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/409032#M65884</link>
      <description>&lt;P&gt;&amp;nbsp;Good Day Jim, I had figure out the problem and solved it. The problem was due to the round second and date. Thanks for your advice.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would like to ask, how to come out with the formula in JMP that using Excel formula&amp;nbsp;=IF(ISERROR(VLOOKUP(B3,A3:A13,1,FALSE)),"",A3)&lt;/P&gt;&lt;P&gt;Example as below. Appreciate and thanks!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dexue_0-1628767099793.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34962i8960A41032E62606/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dexue_0-1628767099793.png" alt="dexue_0-1628767099793.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 11:19:24 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/409032#M65884</guid>
      <dc:creator>dexue</dc:creator>
      <dc:date>2021-08-12T11:19:24Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/409070#M65885</link>
      <description>&lt;P&gt;An exact match for your VLOOKUP would be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Try( (Current Data Table() &amp;lt;&amp;lt; get rows where( If(Row()&amp;lt;=13,:Time,.) == :Record Time[1] ))[1], :Time[1] );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;However, what I believe you want, is to handle each row, the formula would be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Try( (Current Data Table() &amp;lt;&amp;lt; get rows where( :Time == :Record Time[Row()] ))[1], :Time[Row()] );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I did not test the formula since you did not supply a sample data table.&amp;nbsp; So, there might be a minor change needed to get this to work.&amp;nbsp; However, the method used should guide you in how to handle items such as this.&amp;nbsp; Also, if you respond with a sample table, I will test my formula.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 13:33:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/409070#M65885</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2021-08-12T13:33:32Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible in JMP to re-create the "INDEX(MATCH()) formula combination available in Excel?</title>
      <link>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/409110#M65888</link>
      <description>&lt;P&gt;Great! Thanks Jim, modified a bit and works fine.&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="dexue_0-1628777471631.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/34966iFE36DC482CBCF89E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dexue_0-1628777471631.png" alt="dexue_0-1628777471631.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2021 14:11:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Is-it-possible-in-JMP-to-re-create-the-quot-INDEX-MATCH-formula/m-p/409110#M65888</guid>
      <dc:creator>dexue</dc:creator>
      <dc:date>2021-08-12T14:11:54Z</dc:date>
    </item>
  </channel>
</rss>

