18

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

How to control this?

20

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).

10

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

sep=,

as the first line of the file.

  • 2
    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
  • Yes, is this documented somewhere? – GlennFromIowa Apr 6 '17 at 18:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.