cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar

Using formula

Hello  everyone, i am wondering if there is anyone that can help with a formula problem. I would like to compare two different columns and result the values in a third column but i cannot find a versus formula on jmp. Any ideas or suggestions are highly appreciated. Thank you!

2 REPLIES 2
jthi
Super User

Re: Using formula

What type of comparison do you need?

-Jarmo
Byron_JMP
Staff

Re: Using formula

It sounds like you need a formula that does something like Subtract Col1 from Col2 and then check to see if it equals Col3.

 

The formula would sound like, "If Column1 minus Column2 equals Column3, then put 'Yes' in this column, and if not, then put 'no' in this column."

 

The formula would look like this

 

if (:Column 1-:Column 2 == :Column 3, "Yes", "No")

JMP Systems Engineer, Health and Life Sciences (Pharma)