DATE Function
Assembles a date from year, month, and day values.
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| year | The year component. In Excel, values 0-1899 are added to 1900 (0 becomes 1900, 119 becomes 2019); values 1900-9999 are used as-is. | Required |
| month | The month component, 1-12. Values outside that range roll over into adjacent years (13 = January of the next year, 0 = December of the previous year). | Required |
| day | The day component, 1-31. Values beyond the length of the month roll into the next month (day 32 of January becomes February 1). | Required |
Basic Example
Combine separate cells into a real date
=DATE(2024, 1, 15)Serial 45305 corresponds to 2024-01-15. Apply a date number format to display it as a calendar date.
Advanced Examples
Example 1: Month overflow rolls into next year
A user mistakenly enters month 13DATE carries the overflow into the following year
=DATE(2024, 13, 1)Example 2: Day overflow rolls into next month
Building end-of-period dates dynamicallyDay 32 of a 31-day month spills into the next month
=DATE(2024, 1, 32)How DATE Works
DATE validates the three integer inputs and converts them into an Excel date serial, the count of days since 1900-01-01 (serial 1). When any component exceeds its normal range, Excel carries the overflow into the next higher unit, so month and day values roll forward automatically.
Important Notes & Limitations
Excel only supports dates from 1900-01-01 onward; earlier dates return #VALUE!.
Two-digit or small year values are offset by 1900, which can be confusing (always use 4-digit years).
The result is a serial number and must be date-formatted to be readable.
Common Errors & Fixes
#VALUE!A non-numeric or out-of-supported-range argument (e.g. a year before 1900).Fix: Use a numeric year between 1900 and 9999.
Unexpected yearSupplying 2-digit years like 24, which Excel reads as 1924.Fix: Always use four-digit years such as 2024.
Download Practice File
DATE
datePractice DATE with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the DATE function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps