Excel Date Number Conversion

There are two ways to “excel date number conversion”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

Exact answer

In Excel: a number like 45443 is a date in disguise — format the cell as a Date (Ctrl+1 ▸ Date) or convert it with =TEXT(A2,"yyyy-mm-dd"); 45443 is May 31, 2024.

On this page7
▤Annotated stepsExcel
1

Select the cells showing five-digit numbers and press Ctrl+1.

2

Choose Date (or a custom format like yyyy-mm-dd) and confirm.

3

For a text version, use =TEXT(A2,"yyyy-mm-dd"); for the reverse, =DATEVALUE("2024-05-31").

4

Decode a single serial instantly with the converter above.

=TEXT(A2,"yyyy-mm-dd")
Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

Excel stores every date as a serial number: the count of days since January 1, 1900 (serial 1). Times are the fraction after the decimal point — 45443.5 is noon. The "date" you see is only a number format. That is why date math works (=B2-A2 is plain subtraction), why a date pasted into a General cell shows as a five-digit number, and why serial 60 is a famous oddity: it represents February 29, 1900, a day that never existed, kept for Lotus 1-2-3 compatibility. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “excel date number conversion”. Start on a copy or a tiny sample, keep the affected cells visible, and compare the result with the outcome you expected before you touch the real workbook. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. The point is a workflow that saves repeating the same clicks every week, but the practical win is that someone else can open the file and understand what happened without asking you.

A worked example

A CSV import shows 45443 where a date belongs. Select the column, press Ctrl+1, choose Date — the cell now displays 31/05/2024. The stored value never changed; only the format did. To get a text date instead, =TEXT(A2,"yyyy-mm-dd") returns "2024-05-31". Serial numbers surface constantly — CSV exports, lookups returning 45443, dates pasted into General cells. Knowing they are formats, not values, turns a confusing five-digit number into a one-click fix. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. Keep this page bookmarked for the next time the same question comes up. Better still, repeat the steps once in your own workbook — doing it yourself is what turns a copied answer into something you remember. For “excel date number conversion”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

Common mistakes

  • Re-typing the dates by hand instead of changing the number format.
  • Subtracting dates and formatting the result as a Date — a difference is a count of days; format it as Number.
  • Mixing the 1900 system with files from old Mac Excel (1904 system), which shifts every date by 1462 days.
  • Expecting serials for dates before 1900 — Excel cannot store them as dates.

Frequently asked questions

Why does my date show as a number like 45443?

The cell has a General or Number format. The value is the date serial; apply a Date format and it displays as May 31, 2024.

What is Excel serial number 1?

January 1, 1900. Each following day adds 1; fractions are time of day.

Why does Excel think 1900 was a leap year?

Serial 60 is February 29, 1900 — a bug inherited from Lotus 1-2-3 and kept deliberately for file compatibility.