Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I open CSV files in Excel 2010 I get entire rows in cells, not distributed according comma separation.

How to control this?

share|improve this question
up vote 19 down vote accepted

Open Excel and go to the data tab - from text - select the file - import - delimited - next - comma - next - (settings) - finish.

This will import your CSV file into Excel and will delimit it appropriately. Note if your CSV file uses something other than commas as separators, just choose that during the option selection phase.

Alternatively, if you've already opened it you can select the column and go to data - text to columns - delimited - comma - finish and that will break up your column across the row(s).

share|improve this answer

You can do it using the import wizard, or you can do it by opening the file in a text editor and adding


as the first line of the file.

share|improve this answer
Do you happen to know if there is a special string to tell excel what the decimal separator should be? – Sergio Dec 9 '13 at 22:18
I'm afraid I don't. I'd be interested to find out though. Let me know if you find anything. – ForbesLindesay Dec 10 '13 at 17:51
How to do multiple "first line commands": Need to define separator and decimal e.g. "sep=\t dec=." otherwise Excel is so smart and converts 1.2 (1,2) to a date ^^ .... – hfrmobile Aug 3 '14 at 6:14

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .