Importing multiline cells from csv file into excel

Posted by Unreason on Super User See other posts from Super User or by Unreason
Published on 2011-08-05T16:02:29Z Indexed on 2012/10/14 3:40 UTC
Read the original article Hit count: 508

Filed under:
|

I have a csv file (comma delimited and quoted). When csv file is opened directly from explorer excel correctly interprets the cells that are mutliline, but it messes up the character encoding (utf-8).

Therefore I have to use import function (Data/Get External Data/From Text). However, when I use import text function in excel (where I can set file encoding explicitly) it interprets the newline as start of the new row instead of putting multiline text into a single cell and breaks the file layout.

Can I somehow overcome the situation by either

  • forcing the explorer open command to use 65001: Unicode (UTF-8) encoding
  • forcing the Text Import Wizard to ignore quoted line breaks as record delimiters

© Super User or respective owner

Related posts about excel-2007

Related posts about csv