The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Set Colum values for determined i's
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mvww

3 Posts

Posted - 09/12/2012 :  11:21:13 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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.

Drbobshepherd

USA
Posts

Posted - 09/12/2012 :  1:31:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.
Go to Top of Page

mvww

3 Posts

Posted - 09/12/2012 :  2:56:43 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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.

Edited by - mvww on 09/12/2012 2:57:22 PM
Go to Top of Page

Drbobshepherd

USA
Posts

Posted - 09/13/2012 :  10:10:05 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000