Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Terry Pinnell
 
Posts: n/a
Default Opening and formating a CSV file?

Could someone remind me how to handle CSV files please? I had assumed
the Text Import Wizard would pop-up when I use File|Open, but the data
goes straight into the worksheet. (Presumably because it is not
'delimited'?) Without the Wizard at my side, how do I get each
comma-separated field in its own column?

--
Terry, West Sussex, UK
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Try renaming your .csv file to .txt



Terry Pinnell wrote:

Could someone remind me how to handle CSV files please? I had assumed
the Text Import Wizard would pop-up when I use File|Open, but the data
goes straight into the worksheet. (Presumably because it is not
'delimited'?) Without the Wizard at my side, how do I get each
comma-separated field in its own column?

--
Terry, West Sussex, UK


--

Dave Peterson
  #3   Report Post  
Terry Pinnell
 
Posts: n/a
Default

Terry Pinnell wrote:

Could someone remind me how to handle CSV files please? I had assumed
the Text Import Wizard would pop-up when I use File|Open, but the data
goes straight into the worksheet. (Presumably because it is not
'delimited'?) Without the Wizard at my side, how do I get each
comma-separated field in its own column?


OK, sorted thanks. When I mulled it over, I realised something had to
be wrong with the file itself for that to happen. Sure enough, I found
there wasn't a single comma in the whole CSV file - they were all
semicolons!

Presumably just a gaff by the software author?

Having globally replaced the semicolons with commas, the file imports
in neat tabular fashion automatically.

--
Terry, West Sussex, UK

  #4   Report Post  
RogerN
 
Posts: n/a
Default

Terry.

I see you have sorted it but next time don't have or remove the CSV file
extension. Excel will then not "recognise" the data and open the wizard.
Otherwise, once the Excel fiile is open, highlight the data and use Data/Text
to columns, which will open the wizard.

Either way, if you use the delimited option, you can then chose the
delimiter in step 2. This will avoid the necessity of amending the original
file.

Hope this helps.

Roger

"Terry Pinnell" wrote:

Terry Pinnell wrote:

Could someone remind me how to handle CSV files please? I had assumed
the Text Import Wizard would pop-up when I use File|Open, but the data
goes straight into the worksheet. (Presumably because it is not
'delimited'?) Without the Wizard at my side, how do I get each
comma-separated field in its own column?


OK, sorted thanks. When I mulled it over, I realised something had to
be wrong with the file itself for that to happen. Sure enough, I found
there wasn't a single comma in the whole CSV file - they were all
semicolons!

Presumably just a gaff by the software author?

Having globally replaced the semicolons with commas, the file imports
in neat tabular fashion automatically.

--
Terry, West Sussex, UK


  #5   Report Post  
Terry Pinnell
 
Posts: n/a
Default

RogerN wrote:

Terry.

I see you have sorted it but next time don't have or remove the CSV file
extension. Excel will then not "recognise" the data and open the wizard.
Otherwise, once the Excel fiile is open, highlight the data and use Data/Text
to columns, which will open the wizard.

Either way, if you use the delimited option, you can then chose the
delimiter in step 2. This will avoid the necessity of amending the original
file.

Hope this helps.

Roger


Thanks, useful tip.

--
Terry, West Sussex, UK
Reply
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
CSV File - Leading Zeros Floridagal Excel Discussion (Misc queries) 2 August 6th 05 12:34 AM
Opening a csv file with US date format on a Australian PC Troy Lea Excel Discussion (Misc queries) 2 March 16th 05 10:05 PM


All times are GMT +1. The time now is 02:23 AM.

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"