Assemble a date
| A | B | C | |
|---|---|---|---|
| 1 | Year | Month | Day |
| 2 | 2024 | 3 | 15 |
Formula: E2: =DATE(A2,B2,C2)
Result: 3/15/2024
Three separate numbers become the single date March 15, 2024.
Google Sheets counts date serial numbers from 30 December 1899, so serial 0 is that day, while Excel shows its serial 0 as 0 January 1900.
DATE(year, month, day)For dates after February 1900 both programs give the same serial number, so only very early dates differ.
For a fuller explanation of the arguments and common errors, see the DATE Excel guide.
| A | B | C | |
|---|---|---|---|
| 1 | Year | Month | Day |
| 2 | 2024 | 3 | 15 |
Formula: E2: =DATE(A2,B2,C2)
Result: 3/15/2024
Three separate numbers become the single date March 15, 2024.
| A | |
|---|---|
| 1 | Date |
| 2 | 3/9/2024 |
Formula: C2: =DATE(YEAR(A2),MONTH(A2)+1,1)
Result: 4/1/2024
Adding 1 to the month and fixing the day at 1 jumps to April 1.
| A | |
|---|---|
| 1 | Year |
| 2 | 2024 |
Formula: C2: =DATE(A2,3,0)
Result: 2/29/2024
Day 0 of March is the day before March 1, which is February 29 in a leap year.
A tiny spreadsheet with example data. Edit the formula or any number and see the result.
Formula in F2: =DATE(2026,3,15)
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Start | End | Holiday | Time | Result | |
| 2 | 3/15/2026 | 6/20/2026 | 5/1/2026 | 14:45 | 3/15/2026 | |
| 3 | 1/31/2026 | 2/28/2026 | 5/9/2026 | 09:30 | ||
| 4 | 12/24/2025 | 1/9/2026 |
Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.
Enter — commit · F2 — edit · F4 — $ in a reference · Ctrl+C/Ctrl+V — copy and paste · Ctrl+Z — undo
Esc or F6 — leave the sheet for the «Check» button · Shift+Tab in the first cell — back to the page