DATE Function
The Excel DATE function creates a true Excel date from separate year, month, and day numbers, with automatic normalization of overflow values.
| Excel DATE Function | ||||||||
| DATE builds a true Excel date from separate year, month, and day values. | ||||||||
| Source cases, editable | DATE examples | |||||||
| Scenario | Year | Month | Day | Behavior | Example | Formula syntax | Result | |
| Standard date | 2026 | 8 | 15 | Direct construction | Standard date | =DATE(B12,C12,D12) | Aug 15, 2026 | |
| Leap day | 2024 | 2 | 29 | Valid leap-year date | Leap day | =DATE(B13,C13,D13) | Feb 29, 2024 | |
| Month overflow | 2026 | 13 | 1 | Rolls into next year | Month overflow | =DATE(B14,C14,D14) | Jan 1, 2027 | |
| Day zero | 2026 | 3 | 0 | Returns prior month-end | Day zero | =DATE(B15,C15,D15) | Feb 28, 2026 | |
| Year start | 2027 | 1 | 1 | First day of year | Year start | =DATE(B16,C16,D16) | Jan 1, 2027 | |
| How DATE behaves | ||||||||
| DATE returns a numeric date serial that can be sorted, filtered, and used in later date arithmetic. | ||||||||
| Month and day overflow are normalized, which is useful but can also conceal an invalid source part. | ||||||||
| Use four-digit years to avoid Excel's special interpretation of small year values. | ||||||||
| Reliability checks | ||||||||
| Leap-day inputs return 29-Feb-2024 | OK | |||||||
| Month 13 rolls to 01-Jan-2027 | OK | |||||||
Overview
The Excel DATE function combines numeric year, month, and day parts into a true date. It is safer than assembling a locale-dependent text date and produces a value that can be sorted, compared, and used in date arithmetic.
Quick reference
Syntax: =DATE(year, month, day)
Returns: An Excel date serial number representing the constructed date. (date)
Arguments:
year(required) — The numeric year component.month(required) — The numeric month component; values outside 1–12 are normalized.day(required) — The numeric day component; overflow and zero or negative values are normalized.
All three numeric arguments are required. DATE normalizes month and day values outside their usual ranges, which supports date arithmetic but can also conceal invalid source components.
Common uses
- Combine separate year, month, and day fields.
- Create unambiguous date criteria for
COUNTIFSandSUMIFS. - Build the first or last day of a period.
- Generate dynamic dates from worksheet inputs.
Calculations
DATE converts its three numeric arguments into an Excel date serial. The cell's number format controls whether that serial appears as 29-Feb-2024, 2/29/2024, or another date display.
Month and day inputs normalize automatically. Month 13 moves to January of the following year, while day 0 returns the last day of the previous month. This behavior is useful for date calculations but can also conceal invalid source components if normalization was not intended.
Use four-digit years. Excel applies special rules to small year values, so explicit years avoid ambiguity.
Function behavior
Situation | Behavior |
|---|---|
Valid components | Returns the corresponding date serial. |
Month above 12 or below 1 | Rolls forward or backward by the excess months. |
Day above the month's length | Rolls into the following month. |
Day zero or negative | Moves backward from the first day of the month. |
Leap-year date | Handles February 29 automatically when valid. |
Unformatted result | May display as a serial number. |
Text that cannot be interpreted numerically | Returns |
Common errors
Joining date parts as text
What happens:
The result may be locale-dependent and does not reliably behave as a date.
Better approach:
Use DATE so the result remains numeric and supports date operations.
Treating overflow as validation
What happens:
An invalid source month or day silently rolls into another period.
Better approach:
Validate components separately when out-of-range inputs should be rejected.
Assuming the serial result is wrong
What happens:
A valid date appears as a large number because the cell uses General format.
Better approach:
Apply an appropriate date number format without converting the value to text.
Example
Example 1 — Create a Leap-Day Date
=DATE(B12,C12,D12)
Inputs 2024, 2, and 29 return the valid date 29-Feb-2024.
Example 2 — Create a Standard Date
=DATE(2026,8,15)
The result is the true date 15-Aug-2026, not a text label.
Example 3 — Normalize Month 13
=DATE(B14,C14,D14)
In the workbook, a month value of 13 advances into the next year and returns 01-Jan-2027.
Example workbook
The workbook contains a DATE Example sheet with five editable year, month, and day cases. Live formulas demonstrate normal dates, leap day, month overflow, and day normalization, while two checks confirm 29-Feb-2024 and the month-13 rollover. A Notes sheet explains serial dates and normalization.
Key takeaway
Use DATE to create an unambiguous numeric date, and remember that out-of-range month and day values are normalized rather than rejected.