File Format & Compatibility

Why a CSV File Looks Different in Excel Online and Desktop

John WilsonJohn Wilson Dec 2, 2026 868 views

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.

Why a CSV File Looks Different in Excel Online and Desktop
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.
Before you start

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.

Solution 1Recommended

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.

1
Start the import

In Excel desktop, open a workbook and select Data > From Text/CSV. Choose the CSV file and select Import.

2
Set encoding and delimiter

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.

3
Set column types

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.

4
Load and verify

Select Home > Close & Load, then check the imported dates, numbers, and identifiers in the worksheet.

Import the CSV with explicit settings in Excel desktop
CSV does not retain formatting: Cell colors, number formats, and other spreadsheet formatting are not stored in CSV. Save the imported workbook as an Excel file if you need to retain formatting.
Free Microsoft Office alternative

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.

Open and review CSV data in WPS SpreadsheetsCompatible with Microsoft Excel XLSX and XLS filesFamiliar spreadsheet interface for an easier transitionFree and lightweight office suite
microsoft office alternative - wps office

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.