T O P I C R E V I E W |
mvww |
Posted - 09/12/2012 : 11:21:13 AM Origin Ver. and Service Release (Select Help-->About Origin): V8.0724 Operating System: Windows 7
Hello, I want to set the colum values of colum(B) using the even rows of colum(A). For example, if I have the following Colum(A): i|Colum(A) 1 8 2 9 3 10 4 11 5 12 6 13
I want the colum(B) to be: i|Colum(B) 1 9 2 11 3 13
where "i" is the order of the row.
Thanks in advance. |
3 L A T E S T R E P L I E S (Newest First) |
Drbobshepherd |
Posted - 09/13/2012 : 10:10:05 AM My mistake. I thought col(A) contained your row numbers, but I see by your text that col(A) is the source data. Sorry for the confusion, but I see you still got my point. I'm glad I could help.
DrBobShepherd |
mvww |
Posted - 09/12/2012 : 2:56:43 PM Thank you very much, it works. Small correction. There is a typing error. When you say
quote:
col(B)[2*i]
It should be Col(A) instead col(B)
Regards. |
Drbobshepherd |
Posted - 09/12/2012 : 1:31:33 PM Select col(B). Bring up the "Set column values" menu, and enter the following command in the "Col(B)=" field:
col(B)[2*i]
Then click the OK button. That's it. |