Data Import & Export

Why Excel Changes Numbers to Dates During Data Import

Ayan MasoodAyan Masood Nov 18, 2026 868 views

Question details

Understand why Excel converts some exported values to dates and how to preserve the original values during import.

Why Excel Changes Numbers to Dates During Data Import
Product
Microsoft Excel
Device & OS
not provided
Scenario
A user opens an exported report containing values that resemble year-month dates.
Observed behavior
Excel leaves earlier values as text but interprets some later values as dates, so the column appears to change format starting at a particular row.
Before you start

Check the original export in a text editor to confirm whether the values are intact and whether the file is CSV, plain text, or an Excel workbook. The available import options depend on the file type and your Excel version.

Solution 1Recommended

Import the CSV or text column as text in Excel

Use this method to preserve date-like values when importing a CSV or text export.

Excel attempts to recognize dates during import. Depending on the date system and regional settings, a value such as 1900-2 may be interpreted as a date while an earlier year-like value remains text.

Importing the affected column as text preserves the characters but means Excel will treat those values as text rather than numbers or dates.

1
Open the import tool

In Excel, open a blank workbook and select Data > From Text/CSV. Choose the original export file instead of opening the CSV directly.

2
Inspect the preview

Check the delimiter in the import preview, then select Transform Data to open Power Query.

3
Remove automatic conversion

In Power Query, check Applied Steps and delete the automatic Changed Type step if it converted the column. Select the affected column and set its data type to Text.

4
Load the preserved values

Select Home > Close & Load, then check that values such as 1900-2 appear as they do in the source file.

Import the CSV or text column as text in Excel
Already converted values: Changing converted cells back to Text does not necessarily restore their original characters. Reimport from the original export when possible.
Preserve imported values

Keep date-like values as text in WPS Spreadsheets

Use WPS Spreadsheets to format a destination column as Text before pasting original report values, then check that date-like entries remain unchanged.

  1. 1. Open a blank spreadsheet: Launch WPS Office, open Spreadsheets, and create a blank workbook.
  2. 2. Format the column: Select the destination column and choose Text from the number format options on the Home tab.
  3. 3. Paste the original values: Copy the unconverted values from the source report and paste them into the formatted column.
  4. 4. Verify and save: Compare several date-like entries with the source, then use File > Save As to save the workbook.
Preserve date-like report values as text when pastingOpen and save Microsoft Excel XLSX filesWork with CSV and spreadsheet data in a familiar interfaceUse a free spreadsheet alternative
microsoft office alternative - wps office

Frequently Asked Questions

Why does Excel start converting values at a particular row?

Excel may recognize values from that row onward as valid dates while leaving earlier values as text. Recognition depends on the values, Excel's date system, and regional settings.

Will changing a converted column to Text restore the original values?

Not necessarily. If Excel has already converted a value to a date, import the original CSV or text file again through Data > From Text/CSV and set the column to Text.

Can I stop date conversion by changing the CSV delimiter?

A matching delimiter ensures fields are separated correctly, but Excel may still detect dates. Set the affected column's type to Text during import.

Why are some values left-aligned and others right-aligned?

By default, Excel generally left-aligns text and right-aligns numbers and dates. Alignment can be a clue that Excel interpreted values differently, although manual formatting can override it.