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
 Importing a certain Column or row of ASCII File
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

LorenzoHo

Germany
2 Posts

Posted - 07/18/2013 :  10:15:03 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release (Select Help-->About Origin): 8.1
Operating System: Win 8

Hi,

I´m looking for a solution for the following problem. I have lots of laboratory data in lots of .csv. What I need now is i.e. coloumn 7 from row 2789 to row 2987 from each .csv.

I want to use the Import wizard to open let´s say twenty .csv and to get a worksheet with the special columns (+ row to row) next to each other.

Any idea?

-Lorenzo

malgoska

Poland
36 Posts

Posted - 07/18/2013 :  10:59:35 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You need to use file->import->comma delimited. When you check 'show options dialog' you will be able to choose partial import. You can set it to import specific columns and rows from each file.
To have the n-th column from each file in one worksheet you need to choose in the import options-> multi-file (except 1st) import mode->start new columns.
Hope this helps.
Regards,
Gosia
Go to Top of Page

LorenzoHo

Germany
2 Posts

Posted - 07/19/2013 :  03:20:27 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks a lot, Gosia!

Now there is only one thing missing. The column is always the same in each .csv, but the row isn´t. there is one column which indicates what rows I need.

This testcolumn is full of zeros except in the rows I need. So it would be great, if Origin could check that specific column for "true" to determine which rows to import.

- Lorenzo
Go to Top of Page

cpyang

USA
1406 Posts

Posted - 07/19/2013 :  1:15:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
It should be just as fast to import all the rows and then use Worksheet->Worksheet Query to extract those rows.

CP
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