<?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 Can I use JMP formulas to refer to a single value present in a column on a JMP data table? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Can-I-use-JMP-formulas-to-refer-to-a-single-value-present-in-a/m-p/584455#M79034</link>
    <description>&lt;P&gt;The data table below has been generated on Excel and then copied to JMP&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaqyPoly_0-1671647768521.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48602i743F1EA9F2399533/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TaqyPoly_0-1671647768521.png" alt="TaqyPoly_0-1671647768521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'd like to perform a logic test which involves the following steps -&lt;/P&gt;&lt;P&gt;1. Ordering the "Parameter" column in descending order&lt;/P&gt;&lt;P&gt;2. Checking whether each of the values in the "Parameter" column is greater than 25% of the highest value in the Parameter Column. If it is - the logic column should display "TRUE" else "FALSE".&lt;/P&gt;&lt;P&gt;I don't know how to reference a cell in the formula on JMP like you can on Excel (e.g. - $A$1)&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jun 2023 16:05:21 GMT</pubDate>
    <dc:creator>TaqyPoly</dc:creator>
    <dc:date>2023-06-09T16:05:21Z</dc:date>
    <item>
      <title>Can I use JMP formulas to refer to a single value present in a column on a JMP data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-use-JMP-formulas-to-refer-to-a-single-value-present-in-a/m-p/584455#M79034</link>
      <description>&lt;P&gt;The data table below has been generated on Excel and then copied to JMP&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TaqyPoly_0-1671647768521.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48602i743F1EA9F2399533/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TaqyPoly_0-1671647768521.png" alt="TaqyPoly_0-1671647768521.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I'd like to perform a logic test which involves the following steps -&lt;/P&gt;&lt;P&gt;1. Ordering the "Parameter" column in descending order&lt;/P&gt;&lt;P&gt;2. Checking whether each of the values in the "Parameter" column is greater than 25% of the highest value in the Parameter Column. If it is - the logic column should display "TRUE" else "FALSE".&lt;/P&gt;&lt;P&gt;I don't know how to reference a cell in the formula on JMP like you can on Excel (e.g. - $A$1)&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 16:05:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-use-JMP-formulas-to-refer-to-a-single-value-present-in-a/m-p/584455#M79034</guid>
      <dc:creator>TaqyPoly</dc:creator>
      <dc:date>2023-06-09T16:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use JMP formulas to refer to a single value present in a column on a JMP data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-use-JMP-formulas-to-refer-to-a-single-value-present-in-a/m-p/584499#M79035</link>
      <description>&lt;P&gt;Is there are reason why you couldn't just check if each row is greater than 25% of the highest value immediately?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_0-1671650461313.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/48604i9DB7575E8467A370/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_0-1671650461313.png" alt="jthi_0-1671650461313.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check for maximum value in column by using Col Max()&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If(:Column 2 &amp;gt;= Col Max(:Column 2) * 0.25,
	"TRUE",
	"FALSE"
)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You can of course sort the data if you need to by right clicking on the column header and selecting Sort Ascending/Descending&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way to access row and column is to use &lt;LI-MESSAGE title="Data table subscripting" uid="21013" url="https://community.jmp.com/t5/Uncharted/Data-table-subscripting/m-p/21013#U21013" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-blog-thread lia-fa-icon lia-fa-blog lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt; , you can also use column reference and then row number like :Column 2[1]&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also a good read &lt;LI-MESSAGE title="JMP is Not a Spreadsheet" uid="214307" url="https://community.jmp.com/t5/Discussions/JMP-is-Not-a-Spreadsheet/m-p/214307#U214307" discussion_style_icon_css="lia-mention-container-editor-message lia-img-icon-forum-thread lia-fa-icon lia-fa-forum lia-fa-thread lia-fa"&gt;&lt;/LI-MESSAGE&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 19:25:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-use-JMP-formulas-to-refer-to-a-single-value-present-in-a/m-p/584499#M79035</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2022-12-21T19:25:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can I use JMP formulas to refer to a single value present in a column on a JMP data table?</title>
      <link>https://community.jmp.com/t5/Discussions/Can-I-use-JMP-formulas-to-refer-to-a-single-value-present-in-a/m-p/584522#M79039</link>
      <description>&lt;P&gt;This worked! Thank you for the links :D&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 20:17:40 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Can-I-use-JMP-formulas-to-refer-to-a-single-value-present-in-a/m-p/584522#M79039</guid>
      <dc:creator>TaqyPoly</dc:creator>
      <dc:date>2022-12-21T20:17:40Z</dc:date>
    </item>
  </channel>
</rss>

