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
 Column and data filter
 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 - 04/21/2005 :  05:41:20 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): 6
Operating System:

Is there any option for filtering data, for example
2 5
3 6
2 7

than filtering the column 1 with the data "2" and get the resulut
2 5
2 7

Thanks for help.

Mike Buess

USA
3037 Posts

Posted - 04/21/2005 :  07:26:36 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
1. Choose Analysis > Extract Worksheet Data
2. Enter this condition... col(1)[i]==2
3. Click "Do it"

Mike Buess
Origin WebRing Member
Go to Top of Page

Younger2008

USA
Posts

Posted - 04/21/2005 :  10:54:56 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
But sometimes I want to extract the certain amount of the data to new columns in the same worksheet, how to do this?
For example, a worksheet with A,B,C,D,E,F 6 columns. The first two columns A and B were stored N rows original data. How to extract the first n rows data from AB to CD, and the rest (N-n) rows data to EF, and something like this.

Thanks.
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 04/21/2005 :  11:26:03 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
>How to extract the first n rows data from AB to CD, and the rest (N-n) rows data to EF

This is how to do it in LabTalk...

copy -b 1 col(A) col(C) -b 1 -e n; // copy 1st n rows from A to C
copy -b 1 col(B) col(D) -b 1 -e n; // copy 1st n rows from B to D
n1=n+1;
n2=N-n;
copy -b n1 col(A) col(E) -b 1 -e n2; // copy last N-n rows from A to E
copy -b n1 col(B) col(F) -b 1 -e n2; // copy last N-n rows from B to F

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 04/21/2005 12:10:08 PM

Edited by - Mike Buess on 04/21/2005 1:21:39 PM
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