DATE builds a real date value from separate year, month, and day numbers — useful for constructing dates dynamically inside formulas.
DATE takes a year, month, and day as three separate numbers and combines them into one real, working date value.
It is most useful when those three pieces come from different cells or calculations rather than being typed directly — letting you construct a date that updates if any of its parts change.
=DATE(year, month, day)| Argument | Description |
|---|---|
| year required | The year, as a 4-digit number. |
| month required | The month, 1–12. |
| day required | The day of the month. |
=DATE(A2,B2,C2)If A2=2026, B2=6, C2=22, returns June 22, 2026 as a real date.
=DATE(YEAR(TODAY()),1,1)Builds January 1st of whatever year it currently is.
=DATE(2026,13,1)Excel correctly rolls this over to January 1, 2027 — DATE automatically handles out-of-range months and days.
=SUMIFS(C:C,A:A,">="&DATE(2026,1,1),A:A,"<="&DATE(2026,3,31))DATE is commonly used inside SUMIFS/COUNTIFS criteria to build a clean date boundary.
DATE(26,6,22) does not mean 2026 — always use the full 4-digit year to avoid ambiguity.
Rather than being an error, month=13 or day=32 rolls over into the next year/month — sometimes this is exactly what you want, sometimes it hides a mistake.
ExcelPro has 700+ hands-on Excel exercises across 7 career tracks — free to start, no download needed.
Start practicing free →