Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Jon-in-Germany
Posted - 08/23/2013 : 05:35:55 AM Origin Ver. OriginPro 9.0. and Service Release (Select Help-->About Origin): Operating System: W7
Hello,
I want to use "Set column values" to output values in a column that are conditional to values in two other columns.
In Col(A) I have integer values ranging from 1-10 and in Col(B) the same (but not identically ordered). In Col(C) I have a range of values (let's say, random numbers).
Now, I would like to output the values of Col(C) to a new column, Col(D), according to specific values in Col(A) and Col(B).
For example, if Col(A)=2 and Col(B)=5, then Col(D)=Col(C).
If these conditions are not met, individual rows of Col(D) should be left blank.
I know that it is a simple operation, but I am not familiar with the conditional operators in Origin and can't get anything I try to work.
Any suggestions would be very much appreciated.
Thanks Jon
2 L A T E S T R E P L I E S (Newest First)
Jon-in-Germany
Posted - 08/23/2013 : 07:59:05 AM Hideo, you are a lifesaver, thank-you. It works just how I wanted it to.
Thanks again. Jon
Hideo Fujii
Posted - 08/23/2013 : 07:42:47 AM Hi Jon,
The conditional operator has the following syntax: