When Excel Dates Appear as Numbers: Serial Values, Date Formats, Regional Formats (YYYY-MM-DD ↔ DD/MM/YYYY), 1900/1904 Date Systems, TEXT/DATEVALUE/NUMBERVALUE/Text to Columns, and Power Query Locale Settings

When Excel Dates Appear as Numbers: Complete Fix for Serial Values and Text Dates

When Excel dates appear as numbers, you can usually fix the issue immediately by changing the number format to a date format or converting text dates with DATEVALUE/Text to Columns. Also check locale settings (MDY/DMY) and differences between the 1900 and 1904 date systems.

Quick Fix (3 Minutes)

  1. Select the range → Ctrl+1 > Date or use the custom format yyyy-mm-dd.
  2. For text dates, use Data > Text to Columns (Finish) or =DATEVALUE().
  3. For format conflicts, specify MDY/DMY in Text to Columns.

Why Does It Appear as a Number?

Excel stores dates and times as serial values (integers/decimals). If the display format is Number or General, a date may appear as 45123. Changing it to a date format displays it correctly.

Solutions by Situation

Display a Serial Value as a Date

Fix it immediately with Ctrl+1 > Date or the custom format yyyy-mm-dd.

Convert Text Dates in Bulk

  • Text to Columns: Delimited → Finish (specify DMY/MDY if there is a locale conflict)
  • =DATEVALUE(A2); for dates with times, use +TIMEVALUE(A2)
  • Remove NBSP: =DATEVALUE(TRIM(SUBSTITUTE(A2,CHAR(160)," ")))

Regional Formats and Separators

Check the Use system separators setting under File > Options > Advanced, or explicitly specify the date format in Text to Columns.

Dates with Times (DateTime)

=DATEVALUE(LEFT(A2,10)) + TIMEVALUE(RIGHT(A2,8))

1900/1904 Date System Conflicts

Set both workbooks to the same system, then correct misaligned values with ±1462.

Practical Examples

// YYYY.MM.DD → date
=DATE(LEFT(A2,4), MID(A2,6,2), RIGHT(A2,2))
// DateTime text → date/time
=DATEVALUE(LEFT(A2,10)) + TIMEVALUE(RIGHT(A2,8))

Troubleshooting

SymptomCauseSolution
Appears as 45123Display format = GeneralCtrl+1 > Date
Cannot calculate or sortText dateText to Columns, DATEVALUE
Month and day are reversedMDY/DMY conflictSpecify the format or build the date with DATE
Off by four years1900/1904 date systemUse the same system; adjust by ±1462

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *