How to make excel open CSV files and automatically split the comma delimited column?

4

1

I get these reports everyday in CSV format. In the previous version of excel (2007) when I opened these files they were already split into columns. Now with the latest version it isn't. Where is this setting I'm missing?

Thanks in advance.

Erin

Erin Walker

Posted 2016-11-15T06:31:22.147

Reputation: 151

You can do this by selecting Data ---> Text to columns – Scorpion99 – 2016-11-15T07:45:53.637

I know. I want it to be automatic like in version 2007. When I open it, it should already be split. – Erin Walker – 2016-11-15T07:52:35.627

There is about a 90 % of the issue with your source data. Open notepad or some other editor you like, make a .txt file with 3 or 4 rows and columns of data. Each row should have the same number of commas. Then after saved, change the extension to .csv then open with Excel. Do you still get the data in all in the A column? – bvaughn – 2016-11-15T19:44:21.500

I did that and I found its because this excel recognizes ";" instead of the "," - formulas as well. How can I change it to ","? – Erin Walker – 2016-11-16T05:52:44.887

Answers

3

Here are some easy explanations on how to do it automatically when you open your file with Excel:

As you said, Excel has a default character as a delimiter. In your case, this is ";" visibly. I am working on Excel in France and the default delimiter is "[tab]".

I don't know how to change it in the software but there is a trick: For example, let's say that your .csv file is delimited with ";" and you want that Excel interpret it automatically, simply add at the beginning of your .csv file the following line:

> sep=;

and you will note that Excel understand your .csv file.

Regards,

BibiM

BibiM

Posted 2016-11-15T06:31:22.147

Reputation: 31

1

Change your language to English US, it works for me, but separator will be changed to English US as well, of course

Dwi Andi

Posted 2016-11-15T06:31:22.147

Reputation: 11

0

Problem was language settings used a ";" instead of a ","! Changed it and magic it works.

Thanks

Erin Walker

Posted 2016-11-15T06:31:22.147

Reputation: 151

Comma doesn't mean the same thing in Europe and the US. Could that be the reason why the strange setting was in there? – Walter Mitty – 2016-11-23T19:28:59.167