Comparison guide

DATE vs DATEVALUE vs TEXT
for dates in Excel

Three date functions that each solve a different problem — building dates, converting text to dates, and formatting dates as text.

EP
ExcelPro·Sep 19, 2026

The confusion with Excel dates

Excel stores dates as serial numbers internally. 1 Jan 2026 is stored as 46023. The date you see is just formatting applied to that number. Understanding this makes DATE, DATEVALUE, and TEXT much easier to understand.

DATE — build a date from parts

=DATE(year, month, day) =DATE(2026, 9, 19) builds the date 19 September 2026 =DATE(2026, 13, 1) Excel handles overflow: becomes 1 Jan 2027 =DATE(YEAR(A2), MONTH(A2)+1, 1) first day of next month

Use DATE when you have year, month, and day as separate numbers and need to combine them into a real date. Also useful for dynamic date calculations.

DATEVALUE — convert text to a date

=DATEVALUE(date_text) =DATEVALUE("19 September 2026") returns the serial number for that date =DATEVALUE("2026-09-19") same result, ISO format =DATEVALUE(A2) converts text date in A2 to a real date

DATEVALUE converts a date stored as text into a real Excel date number. Use it when you've imported data and dates came in as text strings that Excel doesn't recognise as dates.

⚠️ Format the result as a date

DATEVALUE returns a serial number (like 46113). Apply date formatting (Ctrl+1 → Date) to see it displayed as a date.

TEXT — convert a date to formatted text

=TEXT(value, format_code) =TEXT(A2, "DD/MM/YYYY") "19/09/2026" =TEXT(A2, "MMMM YYYY") "September 2026" =TEXT(A2, "DDD") "Fri" =TEXT(TODAY(), "DD MMM YYYY") "19 Sep 2026"

TEXT converts a date (or number) into a formatted text string. Use it when you need to embed a date inside a text formula or display it in a specific format that standard date formatting can't achieve.

FunctionDirectionUse when
DATENumbers → DateYou have year, month, day separately
DATEVALUEText → DateDates came in as text from imports
TEXTDate → TextYou need a date in a specific text format
💡 Concatenating dates in text

If you write ="Report as of "&A2 and A2 is a date, you'll get a number (like "Report as of 46113"). Fix it with TEXT: ="Report as of "&TEXT(A2,"DD MMM YYYY")

Now practise it for real

Practice this formula yourself — type it in a real spreadsheet and get instant feedback. Free, no download needed.

Start the Excel Basics track free →
Keep reading