Why a CSV File Looks Different in Excel Online and Desktop
Question details
The user wants to understand why the same CSV file displays differently in Excel for the web and Excel desktop and how to import it correctly.

- Product
- Microsoft Excel for the web and Excel desktop
- Device & OS
- not provided
- Scenario
- Opening the same CSV file in the web and desktop versions of Excel.
- Observed behavior
- The file displays as expected in Excel for the web but has incorrect column separation or interpreted values in Excel desktop.
Identify the delimiter used in the CSV, such as a comma or semicolon, and check whether dates, decimal numbers, or leading zeros need special handling. If possible, confirm the file's character encoding with its sender.
Import the CSV with explicit settings in Excel desktop
Use the import dialog to control how Excel reads the file instead of relying on automatic interpretation.
CSV files contain plain text values, not spreadsheet formatting. Excel interprets separators, dates, and numbers during import, and regional settings can affect those interpretations.
In Excel desktop, open a workbook and select Data > From Text/CSV. Choose the CSV file and select Import.
In the import preview, choose the appropriate File Origin or encoding and select the delimiter used in the file. Check that the preview shows the expected columns and characters.
Select Transform Data to open Power Query. Select each relevant column and choose its data type; use Text for identifiers with leading zeros. For dates or numbers that use a different regional convention, choose Change Type > Using Locale.
Select Home > Close & Load, then check the imported dates, numbers, and identifiers in the worksheet.

Compare the web and desktop regional settings
Check regional conventions when commas, semicolons, dates, or decimal numbers are interpreted differently.
Open and review CSV files with WPS Spreadsheets
WPS Office is a free, lightweight alternative with a familiar spreadsheet interface. It can open CSV and Excel files, making it easy to move existing documents to WPS, although it does not change Excel's import settings.

Frequently Asked Questions
Why does Excel put all my CSV data in one column?
Excel may be expecting a different delimiter. In Excel desktop, select Data > From Text/CSV and choose the comma, semicolon, or other delimiter used in the file.
How can I keep leading zeros in a CSV import?
Use Data > From Text/CSV, select Transform Data, and set the relevant identifier columns to Text before loading the data. This preserves zeros present in the source CSV.
Why are dates or decimal numbers different in Excel desktop?
Excel may interpret the values using a different regional convention. In Power Query, select the affected column and use Change Type > Using Locale to choose the intended data type and locale.
Can a CSV file save cell colors and number formatting?
No. CSV stores plain text values rather than cell formatting. After importing the CSV, use File > Save As and choose an Excel workbook format such as XLSX to retain formatting.




