LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Read 500 columns of CSV data into a spreadsheet

Bill,

This is probably the hard way, but its something...

I copied column A and pasted onto Sheet2.
In Sheet2 I selected column A.
DateText to ColumnsDelimitedComma and then in step 3 of 3 I selected
column 1 and with my shift key I selected column 250 (hopfully you know what
the Header is for column 250) and put a bullet in "do not import column".
Finish
Next I copied the rows.
Paste specialTranspose
I did the same as above for Sheet1 except I did not import columns 251 thru
500.
Now just copy results from Sheet2 under Sheet1

Mike Q.




"Bill Anderson" wrote:

I have a csv file
apx 500 fields in double quotes, separated by commas. Each "value" mwill
vary in length
There may be many rows of data like this in the file, each with the same
number of values
Blank values are represented by 2 double quotes
Example:
"Name","Address","Phone","Gender",etc.etc.etc. etc
"Mary","123 Any Street","555-1212","F"
"Bill","PO Box 1","","M"
"Darth","","",""

What I want to do is bring in each field from row 1 and put it in a
spreadsheet going down say 500 rows in column A.
Then move to the next data row and insert each of those fields into column B.
Like this:
"Mary"
"123 Any Street"
"555-1212"
"F"
etc etc etc etc

I know READLINE will read a whole line, but I haven't found a way to read a
"value".
Any ideas?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I sort or compare data from 2 different spreadsheet columns bectayers New Users to Excel 2 February 1st 06 05:41 PM
How do I rotate data in a spreadsheet so that rows become columns? Dennis_Kesselring Excel Discussion (Misc queries) 4 November 22nd 05 05:30 PM
Read/Write data to/from text files from a spreadsheet. lothario[_37_] Excel Programming 8 November 2nd 03 03:10 PM
cboBox to read data from a spreadsheet Range igor dudkin Excel Programming 0 July 18th 03 04:49 AM
cboBox to read data from a spreadsheet Range Tom Ogilvy Excel Programming 0 July 17th 03 09:14 PM


All times are GMT +1. The time now is 07:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"