Date & time function

EDATE function

Returns the date that is a given number of months before or after a start date — ideal for contract ends, renewals and due dates.

Available in Excel 2007 and later (earlier versions needed the Analysis ToolPak add-in), Excel for the web

Excel 2007 and laterWorks in Google Sheets

Syntax

EDATE(start_date, months)
ArgumentWhat it means
start_dateRequiredThe starting date.
monthsRequiredNumber of months to move: positive for future dates, negative for past dates. Decimals are truncated.

Returns: A date serial number (format the cell as a date).

How EDATE works

EDATE moves a date forward or backward by whole months while keeping the same day of the month: 15 March plus 12 months is 15 March next year. That makes it the natural choice for contract end dates, subscription renewals, probation reviews, warranty expiry and loan schedules — anything described as "N months from" a date.

When the target month is shorter than the start day, EDATE stops at that month's last day instead of spilling over: 31 January plus one month is 28 February (or 29 in a leap year), not 3 March. This is different from adding 30 days, and different from DATE with month+1, which would roll over. If you always want the last day of the month, use EOMONTH.

The result is a plain serial number, so format the cell as a date. Like other functions that came from the old Analysis ToolPak, EDATE does not accept a multi-cell range as start_date in older versions.

Examples

1Contract end date 12 months after signing

D2fx=EDATE(B2,C2)
ABCD
1ClientStart dateTerm (months)End date
2Contoso2026-03-15122027-03-15

Result: 2027-03-15

Moving 12 months forward keeps the 15th, giving 15 March 2027 (cell formatted as yyyy-mm-dd).

2Month-end start dates are clamped, not rolled over

B2fx=EDATE(A2,1)
AB
1StartOne month later
22026-01-312026-02-28

Result: 2026-02-28

February 2026 has only 28 days, so EDATE returns the 28th rather than jumping into March (cell formatted as yyyy-mm-dd).

3Look back six months

B2fx=EDATE(A2,-6)
AB
1Review dateReview period starts
22026-08-312026-02-28

Result: 2026-02-28

A negative number of months goes backwards. Six months before 31 August is in February, which ends on the 28th (cell formatted as yyyy-mm-dd).

4Probation review due 3 months after hire

C2fx=IF(EDATE(B2,3)<=TODAY(),"Review now","Not yet")
ABC
1EmployeeHire dateStatus
2J. Chen2026-09-07Not yet

Result: Not yet

EDATE(B2,3) is 7 Dec 2026. If today is 2 Dec 2026 that date has not arrived, so the status is "Not yet".

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 17 KB

Common errors and how to fix them

ErrorWhy it happensFix
#VALUE!start_date is not a valid date, or is a multi-cell range in older Excel versions.Point at a single date cell, or convert text with DATEVALUE.
#NUM!The result would be before 1900 or after year 9999.Check the number of months.

Tips

  • To add years, multiply: =EDATE(A2,5*12) gives the same date five years later.
  • If the result shows as a number like 46461, the formula is right — apply a date format.
  • Chain EDATE with WORKDAY when the due date must fall on a business day: =WORKDAY(EDATE(A2,1)-1,1).

Questions

What is the difference between EDATE and EOMONTH?

EDATE keeps the same day of the month (15th stays 15th). EOMONTH always returns the last day of the target month.

How do I add months to a date in Excel?

Use =EDATE(date, months). It handles different month lengths and leap years for you, unlike adding 30 days.

Google Sheets

EDATE also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

EDATE in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DanishEDATO
DutchZELFDE.DAG
FinnishPÄIVÄ.KUUKAUSI
FrenchMOIS.DECALER
GermanEDATUM
HungarianKALK.DÁTUM
ItalianDATA.MESE
Norwegian (Bokmål)DAG.ETTER
PolishNR.SER.DATY
Portuguese (Brazil)DATAM
Portuguese (Portugal)DATAM
RussianДАТАМЕС
SpanishFECHA.MES
SwedishEDATUM
TurkishSERİTARİH

Recipes that use EDATE