cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Instantly extract effect sizes, F-ratios, and FDR-adjusted p-values from your models with the Calculate Effects Sizes extension, available now in the JMP Marketplace!
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
ks_SES
Level III

column values dependent on another column

Hi, I have two columns, and I hope the values of column 2 will depend on column 1 through a kind of Boolean control.

For example, I need the column 2 below to be automatically filled:

if Column 1>0, then Column 2 in the same row becomes filled with 3.

if Column 1<0, then Column 2 in the same row becomes filled with 0. 

 

 Capture.PNG

Thanks a lot! 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Re: column values dependent on another column

You can use a formula in Column 2 based on this expression:

 

If( :Column 1 > 0, 3, 0 )

You can copy it here, open the Formula Editor for Column 2, and paste it.

View solution in original post

2 REPLIES 2

Re: column values dependent on another column

You can use a formula in Column 2 based on this expression:

 

If( :Column 1 > 0, 3, 0 )

You can copy it here, open the Formula Editor for Column 2, and paste it.

ks_SES
Level III

Re: column values dependent on another column

Thanks! It works. 

Recommended Articles