Excel
DATE function in Excel
Returns the serial number of a particular date
=DATE(year, month, day)DATE syntax and parameters
Three arguments, three required.
- yearnumberRequired
- monthnumberRequired
- daynumberRequired
DATE examples
Formulas you'll actually reuse.
A real date from year, month and day columns — sortable, unlike text:
=DATE(B2, C2, D2)Result
2026-08-14Months overflow into the next year — month 13 becomes January 2027:
=DATE(2026, 13, 1)Result
2027-01-01
DATE in Google Sheets
Same name — your formula ports as-is.
Try DATE in the playground
Edit the example — nothing to install.
Preloaded with the DATE formula from Example 1 — change anything and watch it respond.
Loading the editor…
DATE errors
What they mean — and the fixes.
#VALUE!A part isn't numeric — a text month like "Aug" needs MONTH(DATEVALUE(...)) or a lookup first.
Related functions
More ways Excel gets this done.
- DATEDIFCalculates the number of days, months, or years between two dates. This function is useful in formulas where you need to calculate an age.DateGoogle Sheets
- DATEVALUEConverts a date in the form of text to a serial numberDateGoogle Sheets
- DAYConverts a serial number to a day of the monthDateGoogle Sheets
- DAYSReturns the number of days between two datesDateGoogle Sheets
- DAYS360Calculates the number of days between two dates based on a 360-day yearDateGoogle Sheets
- EDATEReturns the serial number of the date that is the indicated number of months before or after the start dateDateGoogle Sheets