ExcelFlux

DATEVALUE function

Conversion — a date in the form of text to a serial number.

Date and time

Where can you use it?

Planning and operations teams. Use this group to work with dates and times in calendars, delivery schedules, shifts and period reporting.

Scenario in the workbook

Convert date text to Excel serial numbers. Confirm that the input format is recognized in your locale.

A worked example from the workbook

RowA
6Input
72026-01-01
82026-02-01
92026-03-01
Record 1
=DATEVALUE(A7)

Expected result46023

See the inputs and instructions for all 3 examples

Copyable formulas

English Excel · en-US
=DATEVALUE(A7)
Turkish Excel · tr-TR
=TARİHSAYISI(A7)

Worked examples

Convert date text to Excel serial numbers. Confirm that the input format is recognized in your locale.

Open the English sheet. Inputs begin at A6. F7:F9 show the live results and G7:G9 show the original results for comparison.

Row A
6 Input
7 2026-01-01
8 2026-02-01
9 2026-03-01
Case Formula Expected result
Record 1 =DATEVALUE(A7) 46023
Record 2 =DATEVALUE(A8) 46054
Record 3 =DATEVALUE(A9) 46082
Microsoft Excel reference