Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to correctly display .csv files within Excel 2013?

It seems Excel 2013 doesn't read CSV files correctly (Excel 2010 does). Every time I open .csv files, all my data are displayed in the first column.

I know I can go to DATA, Convert, and then choose commas, but this set up is not saved, and I am fed up doing this every time I open this kind of file.

How can I set Excel 2013, once and for all, to display CSV files (comma separated) prettily?

like image 318
David Avatar asked Oct 13 '22 21:10

David


People also ask

How do I align a CSV file in Excel?

There are a few different ways to align cells when importing from CSV in Excel. One way is to use the Text Import Wizard. This wizard can be found under the Data tab, in the Get External Data group. Click on the From Text/CSV option and select your CSV file.

Why is my CSV file not opening properly in Excel?

CSV (comma delimited) will not open correctly and the data within will be displayed incorrectly. This is due to regional Excel settings that have default list separator options where files will either be read with a comma separator or semicolon separator.


1 Answers

Open the CSV file with a decent text editor like Notepad++ and add the following text in the first line:

sep=,

Now open it with excel again.

This will set the separator as a comma, or you can change it to whatever you need.

like image 413
Guilherme Viebig Avatar answered Oct 16 '22 09:10

Guilherme Viebig