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

19102208

Germany
Posts

Posted - 06/23/2005 :  08:32:29 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I want to change column values, is there an easy way doing it
with Origin?

e.g.

2
2
5
5
6

All 2s should get 20 and all 5s changed to 50.

Thanks for help.

Hideo Fujii

USA
1582 Posts

Posted - 06/23/2005 :  09:38:27 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
When your dataset is in the, say, column A, you can try:
1) Highlight the column, and select Column:Set Column Values menu.
2) Enter the following formula with the conditional operators like:
col(A)[i]==2?20:(col(A)[i]==5?50:col(A)[i])

There should be many ways to achieve that.

OriginLab
Hideo Fujii

Edited by - Hideo Fujii on 06/23/2005 09:40:01 AM
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