<?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: How to create a formula to check if two columns are equal? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-create-a-formula-to-check-if-two-columns-are-equal/m-p/913712#M107364</link>
    <description>&lt;P&gt;You can use direct equal comparison or calculate with Col Sum() == value&lt;/P&gt;</description>
    <pubDate>Mon, 17 Nov 2025 06:26:29 GMT</pubDate>
    <dc:creator>jthi</dc:creator>
    <dc:date>2025-11-17T06:26:29Z</dc:date>
    <item>
      <title>How to create a formula to check if two columns are equal?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-formula-to-check-if-two-columns-are-equal/m-p/913700#M107363</link>
      <description>&lt;P data-path-to-node="4"&gt;Hi everyone,&lt;/P&gt;
&lt;P data-path-to-node="5"&gt;I would like to sort my data based on whether the value in one column matches the value in another column. Both columns are numeric (continuous scale).&lt;/P&gt;
&lt;P data-path-to-node="6"&gt;What kind of formula should I use in a new column to check for this equality?&lt;/P&gt;
&lt;P data-path-to-node="7"&gt;For context, I am trying to identify cases where "Total Number of Biopsies" (Column A) is equal to "Number of Positive Biopsies" (Column B). My goal is to find the cases where all biopsy specimens taken were positive.&lt;/P&gt;
&lt;P data-path-to-node="8"&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 05:59:05 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-formula-to-check-if-two-columns-are-equal/m-p/913700#M107363</guid>
      <dc:creator>fully-yully</dc:creator>
      <dc:date>2025-11-17T05:59:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a formula to check if two columns are equal?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-formula-to-check-if-two-columns-are-equal/m-p/913712#M107364</link>
      <description>&lt;P&gt;You can use direct equal comparison or calculate with Col Sum() == value&lt;/P&gt;</description>
      <pubDate>Mon, 17 Nov 2025 06:26:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-formula-to-check-if-two-columns-are-equal/m-p/913712#M107364</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2025-11-17T06:26:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to create a formula to check if two columns are equal?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-create-a-formula-to-check-if-two-columns-are-equal/m-p/913747#M107369</link>
      <description>&lt;P&gt;To create a column that has a value of 1 if column A is equal to column B and has a value of 0 if this is not true do the following:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;Create a new column&lt;/LI&gt;
&lt;LI&gt;Right click on the column and select Formula to add a formula to the column to do the calculation&lt;/LI&gt;
&lt;LI&gt;Type in the following formula
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;If( :A==:B, 1, 0 );&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 17 Nov 2025 10:26:33 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-create-a-formula-to-check-if-two-columns-are-equal/m-p/913747#M107369</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2025-11-17T10:26:33Z</dc:date>
    </item>
  </channel>
</rss>

