CSV Parsing

Kriv

New Member
Joined
Jul 20, 2007
Messages
7
I have several CSVs, fairly basic. The structure is as follows:

Code:
"Text"
"Text","Text","Text","Text","Text","Text"
"Text","xx","xx","xx","Text","xx"
"Text","xx","xx","xx","Text","xx"
"Text","xx","xx","xx","Text","xx"
"Text","xx","xx","xx","Text","xx"

On practically every PC, if I double click the CSVs in explorer, excel opens up and parses the data correctly, putting the contents as you'd expect, into separate cells.

On one PC this does not happen, all the data appears in Column A. I suspect that Excel is attempting to open the document an parsing with fixed width rather than delimited.

So far I have tried:
- Detect and repair, to which this has made no difference.
- Renaming the csv to txt opens up the import wizard.
- Using Data > Text to columns will work as a workaround, but not an overall solution.

I really want to avoid a reinstall as this seems way OTT for something so simple. Is there a setting in Excel or a reg hack to force excel to parse the file as delimited?

Ver: Excel 2003, 11.6560.6568 SP2
 

Excel Facts

How can you turn a range sideways?
Copy the range. Select a blank cell. Right-click, Paste Special, then choose Transpose.
Hi

One thing that can do this (and I'm not at all confident that this is necessarily the case in your example) is the regional settings list separator (in Windows). If it is set to something other than "," then the csv will be opened up and not parsed.

Check via (on XP) Start>Control Panel>Regional and Language Options>Regional Options>Customize and check the List Separator box.
 
Upvote 0
Richard,

You Sir are a legend. That has fixed it a treat. It always amazes me that something so simple to fix can be found in the most illogical of places.
 
Upvote 0

Forum statistics

Threads
1,225,073
Messages
6,182,702
Members
453,132
Latest member
nsnodgrass73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top