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
 All Forums
 Origin Forum
 Origin Forum
 Set Colum values for determined i's

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

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.

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000