<?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 Nest If() Statements in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68420#M34829</link>
    <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to calculate "pass/fail" based on a give set of spec limits. The problem i am running into is that i have approximately 386 devices on a wafer that is tested on 16 different channels which all have different spec limits. To top that off, I have 2 different test conditions. The only solution i have is a ton of IF() statements&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If( (:Channel == 0 ) &amp;amp; (:test_output &amp;gt;= 16) &amp;amp; (test_output &amp;lt;= 22), 1, 99)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;new column( "pass/fail") &amp;lt;&amp;lt; formula( If( condition, result 1, etc.)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If there is an easier way i am all ears.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have attached 1 of the tables that i need to perform this action on..&lt;/P&gt;</description>
    <pubDate>Thu, 16 Aug 2018 19:03:42 GMT</pubDate>
    <dc:creator>Yngeinstn</dc:creator>
    <dc:date>2018-08-16T19:03:42Z</dc:date>
    <item>
      <title>Nest If() Statements</title>
      <link>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68420#M34829</link>
      <description>&lt;P&gt;Good Afternoon,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to calculate "pass/fail" based on a give set of spec limits. The problem i am running into is that i have approximately 386 devices on a wafer that is tested on 16 different channels which all have different spec limits. To top that off, I have 2 different test conditions. The only solution i have is a ton of IF() statements&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If( (:Channel == 0 ) &amp;amp; (:test_output &amp;gt;= 16) &amp;amp; (test_output &amp;lt;= 22), 1, 99)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;new column( "pass/fail") &amp;lt;&amp;lt; formula( If( condition, result 1, etc.)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;If there is an easier way i am all ears.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have attached 1 of the tables that i need to perform this action on..&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:03:42 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68420#M34829</guid>
      <dc:creator>Yngeinstn</dc:creator>
      <dc:date>2018-08-16T19:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Nest If() Statements</title>
      <link>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68421#M34830</link>
      <description>&lt;P&gt;Create a new data table with columns for chanel, test condition, upper limit and lower limit.&amp;nbsp; Then simply join the tables together, matching on chanel and test condition.&amp;nbsp; Then using the upper and lower limit columns, calculate the pass/fail&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:35:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68421#M34830</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2018-08-16T19:35:01Z</dc:date>
    </item>
    <item>
      <title>Re: Nest If() Statements</title>
      <link>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68425#M34834</link>
      <description>&lt;P&gt;The way I've done this in Excel, though not the quickest, does help avoid making mistakes.&amp;nbsp; Create a 0/1 column for each channel using IF and AND to see if it is within the specification limits.&amp;nbsp; Then just multiply the columns together - you will only get 1 if all channels are within limits.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 19:49:02 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68425#M34834</guid>
      <dc:creator>dale_lehman</dc:creator>
      <dc:date>2018-08-16T19:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Nest If() Statements</title>
      <link>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68438#M34837</link>
      <description>&lt;P&gt;That was my original thought however I wanted to give the Test Engineers/Management the freedom to adjust the limits if they choose to do so.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I didn't include all the information and for that i am sorry. Attached is a subscript from my overall data pull script that pops out when you hit the "yield" button box in my main window. I wanted to use the variables set in this script in my nested if() statements.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your input so far.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Aug 2018 20:43:31 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68438#M34837</guid>
      <dc:creator>Yngeinstn</dc:creator>
      <dc:date>2018-08-16T20:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Nest If() Statements</title>
      <link>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68666#M34885</link>
      <description>&lt;P&gt;Thanks for the input i just ended up doing the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;	new column( "I/O" ) &amp;lt;&amp;lt; Formula(
		If(
			(:trmode == "Rx") &amp;amp; (:Channel == 0) &amp;amp; (:TEST_OUTPUT &amp;gt;= 6.16) &amp;amp; (:TEST_OUTPUT &amp;lt;= 23.59), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 1) &amp;amp; (:TEST_OUTPUT &amp;gt;= 22.47) &amp;amp; (:TEST_OUTPUT &amp;lt;= 36.72), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 2) &amp;amp; (:TEST_OUTPUT &amp;gt;= 20.65) &amp;amp; (:TEST_OUTPUT &amp;lt;= 33.77), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 3) &amp;amp; (:TEST_OUTPUT &amp;gt;= 21.79) &amp;amp; (:TEST_OUTPUT &amp;lt;= 41.64), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 4) &amp;amp; (:TEST_OUTPUT &amp;gt;= 18.73) &amp;amp; (:TEST_OUTPUT &amp;lt;= 32.72), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 5) &amp;amp; (:TEST_OUTPUT &amp;gt;= 18.53) &amp;amp; (:TEST_OUTPUT &amp;lt;= 32.42), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 6) &amp;amp; (:TEST_OUTPUT &amp;gt;= 23.42) &amp;amp; (:TEST_OUTPUT &amp;lt;= 40.84), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 7) &amp;amp; (:TEST_OUTPUT &amp;gt;= 21.96) &amp;amp; (:TEST_OUTPUT &amp;lt;= 47.10), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 8) &amp;amp; (:TEST_OUTPUT &amp;gt;= 18.98) &amp;amp; (:TEST_OUTPUT &amp;lt;= 48.50), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 9) &amp;amp; (:TEST_OUTPUT &amp;gt;= 20.07) &amp;amp; (:TEST_OUTPUT &amp;lt;= 41.04), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 10) &amp;amp; (:TEST_OUTPUT &amp;gt;= 25.25) &amp;amp; (:TEST_OUTPUT &amp;lt;= 49.21), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 11) &amp;amp; (:TEST_OUTPUT &amp;gt;= 21.91) &amp;amp; (:TEST_OUTPUT &amp;lt;= 35.20), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 12) &amp;amp; (:TEST_OUTPUT &amp;gt;= 22.49) &amp;amp; (:TEST_OUTPUT &amp;lt;= 40.70), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 13) &amp;amp; (:TEST_OUTPUT &amp;gt;= 25.39) &amp;amp; (:TEST_OUTPUT &amp;lt;= 41.81), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 14) &amp;amp; (:TEST_OUTPUT &amp;gt;= 22.50) &amp;amp; (:TEST_OUTPUT &amp;lt;= 41.92), 1,
			(:trmode == "Rx") &amp;amp; (:Channel == 15) &amp;amp; (:TEST_OUTPUT &amp;gt;= 23.65) &amp;amp; (:TEST_OUTPUT &amp;lt;= 46.53), 1, 0
		)
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 17 Aug 2018 18:22:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Nest-If-Statements/m-p/68666#M34885</guid>
      <dc:creator>Yngeinstn</dc:creator>
      <dc:date>2018-08-17T18:22:14Z</dc:date>
    </item>
  </channel>
</rss>

