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
 indexing
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

zaskar

Germany
1 Posts

Posted - 09/29/2010 :  06:27:39 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, is there any way to adress the row index number within colums to do such an easy thing like: col(b) values= (col(a)i) - (col(a)i-1)...

so in this case to substract the former value i-1 of a column from the actual value i of the same or any other column?

many thanks in advance!

minimax

348 Posts

Posted - 09/30/2010 :  04:56:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Eric,

You may make use of the Set Column Values tool (a context menu when right click on a whole column).

Fill formula
col(a)[i+1]-col(a)[i]


Or you can use a built-in function to do the calculation:
diff(col(a))


Hope it helps.
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