Back to functions
Date & Time2026-03-188 related articles

DATE Function in Excel

Build a valid Excel date from separate year, month, and day values.

Syntax

DATE(year, month, day)

Arguments

year

Required

The year portion of the date.

month

Required

The month portion of the date.

day

Required

The day portion of the date.

What it returns

Returns a valid Excel date serial number.

What DATE does

DATE combines year, month, and day values into a real Excel date. It is often safer than typing date text directly because it avoids ambiguity across locales and formats.

Practical examples

Build a date from separate cells

=DATE(A2,B2,C2)

This is useful when raw data stores years, months, and days in separate columns.

Find the last day of the previous month

=DATE(YEAR(A2),MONTH(A2),0)

Because Excel normalizes day values, day 0 rolls back to the prior month's final day.

Common mistakes and notes

DATE returns a number underneath

If the result looks like a serial number, the cell likely needs date formatting.

DATE handles overflow and underflow

Month values above 12 or day values outside the normal range roll into adjacent months automatically. That is powerful, but it can also conceal bad inputs.

Related functions

Related articles

Deep dives, troubleshooting guides, and practical examples that use DATE.

AI in ExcelFormulas
2026-01-08

How to Use AI to Explain Excel Formulas Step by Step

Learn how to use AI to explain Excel formulas step by step, including how to verify the explanation and catch what the model still gets wrong....

#ai#formulas#troubleshooting
3 min read
Read Article
BeginnerFormulas
2019-06-20

The NOW Function in Excel: What It is and How to Use It

Are you wondering how to use the now function in Excel? Look no further. Our easy step-by-step guide has all of the information that you need to know....

#time
3 min read
Read Article
IntermediateTime and Date
2012-09-16

Extract Date from DateTime Number in Excel

You can extract the Date value from a Date-Time number using the INT function in Excel. Then change the cell formatting to a Date format....

2 min read
Read Article
FeaturesFormulasIntermediate
2011-01-17

Goal Seek in Excel

If you know the result that you want from a formula, but are not sure what input value the formula needs to get that result, use the Goal Seek feature...

2 min read
Read Article
FormulasIntermediateTime and Date
2011-01-14

What Day of the Year is It?

The embedded spreadsheet will take a date value and return the Day of Year with a formula that uses the DATE Function....

#cloud
2 min read
Read Article
AdvancedFormulasTime and Date
2010-12-08

Calculate the Xth Weekday of Any Month in Excel

A simple formula to calculate the Xth Day of any month using four inputs: Year, Month, Week, and Day. Data validation with custom formatting required....

#excel-legacy#excel-for-mac
5 min read
Read Article
FormulasIntermediate
2010-10-23

Use the DATE Function to Find the Last Day of a Month

The DATE Function will return the last day of the month prior to the Month argument, by using zero (0) for the Day argument....

1 min read
Read Article
BeginnerTime and Date
2010-08-31

Date and Time Calculation in Excel

Date and Time are the components of a serial number value, and are represented by an integer and decimal, respectively....

3 min read
Read Article

Official documentation