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
 help with data extraction

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
gusmo Posted - 12/31/2004 : 10:21:10 AM
hello,

i'm new to origin and trying to figure out how to extract specific rows from a worksheet and place them into a new worksheet. for example, each trial of my experiment has 16 parts (with each part occupying a single row). and each experiment has >20 trials. further, each experiment ends up in an origin file with the number of rows equal to 16*number of trials. does origin have a built in tool that would allow me to extract discontinuous rows that correspond to the same part of each trial and place them in a new worksheet? for example, a way to extract every 17th row of a worksheet for the first part of the experiment. any help is much appreciated. thank you. nikkudesu@hotmail.com
1   L A T E S T    R E P L I E S    (Newest First)
Mike Buess Posted - 12/31/2004 : 11:47:26 AM
Use Analysis->Extract Worksheet Data. To extract the nth row from each record use mod(i,16)==n for the condition (if statement). Examples,

Extract row 1, 17, 33, ...
if: mod(i,16)==1

Extract row 3, 19, 35, ...
if: mod(i,16)==3

...Rows 16, 32, 48, etc., are handled differently because there is no remainder when dividing those numbers by 16. The condition for those rows is mod(i,16)==0.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 01/01/2005 2:30:30 PM

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