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
 normalizing a column of data to a cell value

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
carat64 Posted - 07/08/2010 : 12:33:40 AM
Origin Ver. and Service Release (Select Help-->About Origin): 8.1
Operating System:windows xp

Hi,

I'm working with a demo of Origin 8.1 and I have a question about how to set up a column calculation. I'm trying to convert some calculations from Excel to Origin, to take advantage of the analysis template feature. One part of the analysis is to normalize a column of data to the first cell in that column and place the new data in a new column. In excel the formula is like this:

B1=A1-$A$1
B2=A2-$A$1
B3=A3-$A$1...

I tried to indicate in the Set Column values box that the new column is equal to col(A) - col(A,1), however, the output is only for the first cell in the new column. Hopefully I'm missing something simple...

thanks for your time and help,
Cara
1   L A T E S T    R E P L I E S    (Newest First)
VincentLiu Posted - 07/08/2010 : 02:44:12 AM
You should use Col(index)[rowNum], or Col(name)[rowNum] to get numerical value from a cell. So, in your case, you could use

col(A)-col(A)[1]

to get the values for a column.

Vincent
OriginLab Technical Services

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