CSV vs xlsx

Anonymous
2016-06-13T17:06:45+00:00

Can someone give me a simple explanation of the difference between these two file types and when should I choose which one?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2016-06-13T17:25:43+00:00

Hi,

I'll give it a try.

A xlsx is the typical file format for Excel, just as docx is it for words.

In a xlsx you can save the formulas, graphs, pivots, etc in the file.

A CSV is just a flat text file that uses a delimiter to separated the fields, e.g.

Header_1,Header_2

A,1

B,2

Although Excel can read the fileformat and you can use formulas in it, you cannot save the formulas in the sheet. Excel will only save the result of the calculation.

Where an Excel workbook can have more sheets, a CSV has only one sheet.

So always save it as an xlsx to make it reusable.

Also, when you open a xlsx with a text editor you will see unreadable content, a CSV is readable (maybe not easy but possible.)

Was this answer helpful?

40+ people found this answer helpful.
0 comments No comments
Answer accepted by question author
Anonymous
2016-06-13T19:07:16+00:00

In additions to what JP said.

XLSX is the Excel spreadsheet file format.  It does not allow you to store macros, as a security precaution.

If you need macros in the file you have to use the XLSM file format.

CSV is NOT a "spreadsheet" file format.

CSV is a simple, industry standard file format for exporting text only data from one system to be imported into another system.  The importing system can be Excel or a "true database".

Was this answer helpful?

20+ people found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful