I have seen several questions before on this topic, but none of then have been able to give me a solution.
I am using Excel 2013. I need to convert a semicolon delimited file into excel. however, the problem is that some column contain new lines, and excel is interpreting those values as a new row. This is the sample data that I have:
Id;Name;Access Code;Description
1;xyz;001;"This is an
example of a new
line column"
2;bhc;002; Normal output
The format of the file is ANCI. Any suggestions or help will be appreciated!
In order to create a column value that contains new line sequence, surround it by double quotes (as you did).
However, excel has a problem with implementation semi-colon as separator mixed with values that contains new line characters. In that case new line within a value will be treated as new record.
However, if you change the separator to a comma, every thing works fine.
So try:
Id,Name,Access Code,Description 1,xyz,001,"This is an example of a new line column" 2,bhc;002, Normal output
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.