Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Importing data generated from Excel: don't, or force RFC 4180-compliant CSV data.

Exporting data into Excel: provide RFC 4180-compliant CSV data, or just generate minimal XLSX files.

Most Excel users generally don't export to CSV (or practice any data sanity conventions); they seem to believe XLSX is a perfectly fine data exchange format for automated use. (“Oh the import broke? I just added an empty row above the headers, because it looked sloppy.”) Those that do understand that automated data processing means you need to be stricter in what you do in the sheet you are exporting tend to understand how to export proper CSV's from Excel as well.



>Those that do understand that automated data processing means you need to be stricter in what you do in the sheet you are exporting tend to understand how to export proper CSV's from Excel as well

exactly right


Do you have some recommendations or references about getting data properly out of Excel. I usually avoid using Excel alltogether if possible. But, obviously that is not always an option.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: