ExcelFormulas logoExcelFormulas.
Ask AI
Date & TimeVerified QA Tested

DATE.

Creates a valid date serial number from separate Year, Month, and Day.

Category: Date & Time
ExcelExcel 365Excel 2021Excel 2019Google Sheets

How it works.

DATE builds an official Excel date serial number from individual year, month, and day integers, preventing regional date format ambiguities (MM/DD vs DD/MM).

Formula syntax.

Standard Excel Notation
=DATE(year, month, day)
Tip:Arguments wrapped in square brackets [like_this] are optional; all other arguments are required.

Formula arguments.

Every parameter accepted by the DATE function is detailed below.

yearRequired

Four digit year number (e.g. 2025).

Example value: 2025
monthRequired

Integer from 1 to 12 representing month.

Example value: 5
dayRequired

Integer from 1 to 31 representing day.

Example value: 20

Simple example.

Step-by-Step Scenario

Construct Date from Columns

Combine separate Year, Month, and Day columns into a single date.

YearMonthDayConstructed Date
2025520—
20251231—
Applied Formula
=DATE(A2, B2, C2)
Expected Result:2025-05-20

Evaluates DATE over the sample table cells, placing the verified output in cell D2.

Formula generator.

Full Generator Wizard

Customize the argument fields below to generate a tailored DATE formula ready to paste directly into your worksheet.

Generated FormulaReady to copy

Expected result behavior.

Returns "2025-05-20" based on sample evaluation criteria and active cell references.

Sample Output:2025-05-20
Output Type:Text String

Best Practices

  • Always use 4-digit years to avoid confusion with 1900-era serial dates.

Common Mistakes

  • Supplying month numbers greater than 12 rolls into subsequent years (e.g. Month 13 becomes January of next year).
Compatibility Database

Platform & version compatibility.

Verified platform compatibility matrix based on actual spreadsheet calculation engine specifications.

Excel✓
Supported
Excel 365✓
Supported
Excel 2021✓
Supported
Excel 2019✓
Supported
Google Sheets✓
Supported
Microsoft Excel History & Version Availability

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

Google Sheets Compatibility Notes

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

Frequently asked questions.

Technical Q&A
Can I use DATE across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =DATE(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in DATE?↓

Supplying month numbers greater than 12 rolls into subsequent years (e.g. Month 13 becomes January of next year).

Does DATE work identically in Google Sheets?↓

Yes, DATE is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.