Cross-posted here:
Microsoft Excel not formatting CSV file correctly - Microsoft Community Hub
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
We are trying to open a CSV file with Microsoft Excel (2013 and 2016) on Windows Desktop. Unfortunately, excel is not formatting the file correctly: each row is in a new row as it should be, but all of the columns are in the same cell, and the values are displayed seperated by a comma( , ).
The CSV file, as said above is separated by commas. Our computer's region is Turkey, which means semicolon ( ; ) separation by default; but following advice here and elsewhere we have changed our delimiter setting to comma in the region settings. However, the file is still not formatted correctly for some reason. It is not possible to create a new file and import the CSV there, as the original CSV file needs to be modified - and quite regularly. The issue persists on both our computers (one with Excel 2013 and the other Excel 2016). (If this is useful context, the file itself was created on the latest model MacBook Pro, local to the UK (the computer itself has 360, though the file was created using a java program without any Office programs involved)). How can we resolve this?
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.
Cross-posted here:
Microsoft Excel not formatting CSV file correctly - Microsoft Community Hub
This is a FAQ, you have to import the file:
Power Query - How to import a CSV file that does not match your locale - Microsoft Community
Andreas.
Hey Andreas, thank you so much for your reply! The issue is that we need to frequently update the original file, and not change the delimeter of the file itself, as it is then used as part of a java program - also, we've changed the regional setting of the computer so that the system delimeter is comma ( , ) rather than semicolon now, but for some reason the issue persists...
The sense of a query is not to create it every time you get a new CSV. Copy the CSV into the folder and give it a meaningful name, import that file as I described in my article.
If you get a new CSV tomorrow, rename the old CSV (so you have a backup), copy the new CSV into the folder and rename it to the same name as the 1st CSV.
Open the Excel file, click Data \ Refresh All, done. That's how professionals do it.
Andreas.