<?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: Check if multiple column values fall within range in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14402#M13449</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New Column("In Range?", Formula(&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min( :Test 1, :Test 2, :Test 3, :Test 4 ) &amp;gt; 0 &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max( :Test 1, :Test 2, :Test 3, :Test 4 ) &amp;lt; 0.5,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Yes",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "No"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Sep 2015 15:45:43 GMT</pubDate>
    <dc:creator>vince_faller</dc:creator>
    <dc:date>2015-09-23T15:45:43Z</dc:date>
    <item>
      <title>Check if multiple column values fall within range</title>
      <link>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14398#M13445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sample table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid rgb(0, 0, 0); width: 300px; height: 57px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Part&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 4&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.1&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.6&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.7&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.4&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to add a column to this table that evaluates every value in columns Test 1-Test 4, and if all fall within a range to output "Yes".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example, if my range was 0 &amp;lt; values &amp;lt; 0.5, the output would look like this (I've highlighted failing values in red)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="119" style="border: 1px solid rgb(0, 0, 0); width: 325px; height: 121px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Part&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Test 4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes/No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;A&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;Yes&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;B&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;0.6&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;C&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;STRONG style="color: #ff0000;"&gt;0.7&lt;/STRONG&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0.4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;No&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a simple way to achieve this with JSL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Sep 2015 17:27:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14398#M13445</guid>
      <dc:creator>hooshies</dc:creator>
      <dc:date>2015-09-22T17:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Check if multiple column values fall within range</title>
      <link>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14399#M13446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi hooshies,&lt;/P&gt;&lt;P&gt;to answer your exact question the following script can do it.&lt;/P&gt;&lt;P&gt;A more general solution&amp;nbsp; depends on the aspect that needs generalizing (i.e. more columns, different ranges for different columns and whether you want it in a column formula or just to be calculated once by jsl)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;dt &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;=&lt;/SPAN&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;New Table&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"Data source"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Add Rows&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;3&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;New Column&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"Part"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; Character&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; Nominal&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; Set Values&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"A"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"B"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"C"&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;}&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;New Column&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"Test 1"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; Set Values&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;0.2&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;0.2&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: teal;"&gt;0.7&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;New Column&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"Test 2"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; Set Values&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;0.4&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;0.3&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: teal;"&gt;0.1&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;New Column&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"Test 3"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; Set Values&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;0.3&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;0.4&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: teal;"&gt;0.2&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;New Column&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"Test 4"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; Set Values&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;STRONG&gt;[&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;0.1&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;0.6&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: teal;"&gt;0.4&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;]&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;dt &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;New Column&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;(&lt;/SPAN&gt;&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"Yes/No"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Character&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Nominal&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Formula&lt;STRONG&gt;(&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;If&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;Maximum&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;Abs&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;Test 1 &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;Abs&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;Test 2 &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;Abs&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;Test 3 &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: #0000dd;"&gt;Abs&lt;/SPAN&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;(&lt;/STRONG&gt; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;Test 4 &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;STRONG style="color: teal; font-size: 13.0pt; font-family: 'Courier New';"&gt;0.5&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"No"&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: purple;"&gt;"Yes"&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: black;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;)&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: black; font-size: 13.0pt; font-family: 'Courier New';"&gt;)&lt;/STRONG&gt;&lt;SPAN style="font-size: 13.0pt; font-family: 'Courier New'; color: navy;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 12:11:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14399#M13446</guid>
      <dc:creator>ron_horne</dc:creator>
      <dc:date>2015-09-23T12:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: Check if multiple column values fall within range</title>
      <link>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14400#M13447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for you response. The script you provided gets the job done in this situation, but I would like a more robust/general solution (for example, when the limits of my testing criteria are 0.23 &amp;lt; test values &amp;lt; 0.5).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to set a column formula or script a solution where multiple columns are treated as an array?&amp;nbsp; In pseudocode:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lower_limit = 0.23&lt;/P&gt;&lt;P&gt;upper_limit = 0.5&lt;/P&gt;&lt;P&gt;If lower_limit &amp;lt; [Column(2), Column(3), Column(4), Column(5)] &amp;lt; upper_limit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disp "Yes"&lt;/P&gt;&lt;P&gt;Else&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; disp "No"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The pseudocode here would test each value in columns 2-5 individually against the limits, and output "Yes" if all are in range.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Multiple AND/OR statements would achieve this, but seems like an elementary approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 15:08:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14400#M13447</guid>
      <dc:creator>hooshies</dc:creator>
      <dc:date>2015-09-23T15:08:19Z</dc:date>
    </item>
    <item>
      <title>Re: Check if multiple column values fall within range</title>
      <link>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14401#M13448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.jmp.com/people/ron_horne"&gt;ron_horne&lt;/A&gt;'s method can be generalized. The key is to recognize that the &lt;A href="http://www.jmp.com/support/help/Statistical_Functions.shtml"&gt;Minimum() and Maximum() functions&lt;/A&gt; return the min/max value of their arguments. So, as you pose it, the comparison it can be written:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;&lt;BR /&gt;&lt;P style="font-size: 14px; font-family: Courier;"&gt;&lt;SPAN style="color: #032ce4;"&gt;Minimum&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Test 1&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Test 2&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Test 3&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Test 4 &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;0.23&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;&amp;amp;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;P style="font-size: 14px; font-family: Courier;"&gt;&lt;SPAN style="color: #032ce4;"&gt;Maximum&lt;/SPAN&gt;&lt;STRONG&gt;(&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Test 1&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Test 2&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Test 3&lt;SPAN style="color: #011993;"&gt;,&lt;/SPAN&gt; &lt;SPAN style="color: #011993;"&gt;:&lt;/SPAN&gt;Test 4 &lt;STRONG&gt;)&lt;/STRONG&gt; &lt;SPAN style="color: #011993;"&gt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN style="color: #009193;"&gt;&lt;STRONG&gt;.5&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #011993;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Jeff&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 15:22:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14401#M13448</guid>
      <dc:creator>Jeff_Perkinson</dc:creator>
      <dc:date>2015-09-23T15:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Check if multiple column values fall within range</title>
      <link>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14402#M13449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;New Column("In Range?", Formula(&lt;/P&gt;&lt;P&gt;If(&lt;/P&gt;&lt;P&gt;&amp;nbsp; Min( :Test 1, :Test 2, :Test 3, :Test 4 ) &amp;gt; 0 &amp;amp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Max( :Test 1, :Test 2, :Test 3, :Test 4 ) &amp;lt; 0.5,&lt;/P&gt;&lt;P&gt;&amp;nbsp; "Yes",&lt;/P&gt;&lt;P&gt;&amp;nbsp; "No"&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Sep 2015 15:45:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Check-if-multiple-column-values-fall-within-range/m-p/14402#M13449</guid>
      <dc:creator>vince_faller</dc:creator>
      <dc:date>2015-09-23T15:45:43Z</dc:date>
    </item>
  </channel>
</rss>

