Skip to content

EDATE

Returns the date a given number of months before or after a start date, on the same day of the month where possible.

Syntax

=EDATE(, )

Date and time

All versions of Excel.

Try it

Edit the formula in B2 or change the inputs. The sheet recalculates as you type.

B2
A
B
C
1
Start date
Review date
2
15-Mar-2025
15-Sep-2025
3

B2 =EDATE(A2,6) returns 15-Sep-2025

How EDATE works

EDATE moves a date by a number of months and keeps the day of the month. =EDATE(A2,6) with 15 March 2025 in A2 returns 15 September 2025. The result is a date serial number, so format the cell as a date. Use it for contract renewals, subscription end dates, warranty expiry and anything else defined as "N months from this date".

The two arguments

  • start_date is the date to move from.
  • months is the whole number of months. A negative number moves backwards: =EDATE(A2,-3) is the same day three months earlier. A fraction is truncated, not rounded.

When the day doesn't exist

If the target month is too short, EDATE returns the last day of that month. =EDATE(DATE(2025,1,31),1) is 28 February 2025, and with 2024's leap day it is 29 February. That behaviour is usually what a contract means, but it has a side effect: month steps are not reversible. Add one month to 31 January and you get 28 February; add one more and you get 28 March, not 31 March. To keep a series anchored to the original date, always apply EDATE to the start date with a growing month count, such as =EDATE($A$2,B2), instead of chaining from the previous cell.

Common patterns

  • Renewal date for a 12-month term: =EDATE(A2,12). Subtract 1 if the term ends the day before: =EDATE(A2,12)-1.
  • Warranty end: =EDATE(A2,B2) where B2 holds the term in months.
  • Is the term still running: =EDATE(A2,B2)>=TODAY().
  • Same day last year: =EDATE(A2,-12).
  • A schedule of monthly payment dates: =EDATE($A$2,ROW()-ROW($A$2)) filled down, or =EDATE($A$2,SEQUENCE(12,1,0)) in Microsoft 365.

EDATE or EOMONTH

EDATE keeps the day of the month. EOMONTH always returns the month's last day. A lease starting on the 15th renews on the 15th, which is EDATE. A statement that closes at month-end uses EOMONTH. When your start date is already a month-end and you want the next month-end, use EOMONTH, because EDATE from 30 April gives 30 May, not 31 May.

EDATE and DATE

DATE can also add months by changing its month argument, but it doesn't clamp to the end of a short month: DATE(2025,2,31) rolls on into March. EDATE does clamp, so for month arithmetic it is the safer choice.

Arguments

start_date
The date to count from. Use a cell holding a date or a date built with DATE. Text that Excel can't read as a date returns #VALUE!.
months
How many whole months to move. Positive numbers go forward, negative numbers go back. A fraction is cut off, so 2.8 is treated as 2.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Add six months to a date

B2 =EDATE(A2,6)

Result: 15-Sep-2025

The day stays at 15, and the month moves from March to September: 15-Sep-2025.

B2
A
B
C
1
Start date
Review date
2
15-Mar-2025
15-Sep-2025
3

B2 =EDATE(A2,6) returns 15-Sep-2025

Example 2

A short month: 31 January plus one month

B2 =EDATE(A2,1)

Result: 28-Feb-2025

There is no 31 February, so EDATE returns the last day of February, which is 28-Feb-2025.

B2
A
B
C
1
Start date
One month later
2
31-Jan-2025
28-Feb-2025
3

B2 =EDATE(A2,1) returns 28-Feb-2025

Example 3

Contract end date, the day before the renewal

C2 =EDATE(A2,B2)-1

Result: 31-Aug-2027

Twenty-four months after 1 September 2025 is 1 September 2027. Subtracting 1 makes the last day of the term 31-Aug-2027.

C2
A
B
C
D
1
Start date
Term (months)
Last day
2
01-Sep-2025
24
31-Aug-2027
3

C2 =EDATE(A2,B2)-1 returns 31-Aug-2027

Example 4

Is a three-year warranty still valid?

B2 =IF(EDATE(A2,36)>=TODAY(),"Covered","Expired")

Result: Covered

The example uses a far-future purchase date so that the answer never changes. Replace A2 with a real purchase date and the result follows today's date.

B2
A
B
C
1
Purchase date
Covered?
2
01-Jan-2099
Covered
3

B2 =IF(EDATE(A2,36)>=TODAY(),"Covered","Expired") returns Covered

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In C2, return the renewal date: the start date plus the term in months. Fill it down to C4.

Answer in C2, then it fills down to C4.

C2
A
B
C
D
E
1
Start date
Term (months)
Renewal date
Notice date
2
31-Jan-2025
12
3
15-Jun-2025
6
4
30-Nov-2025
3
5

Common mistakes

  • EDATE returns a serial number. If a cell shows 45915, apply a date format.
  • Chaining EDATE from the previous result drifts. 31 Jan, then 28 Feb, then 28 Mar. Calculate each date from the original start date with a larger month count.
  • It only moves whole months. EDATE(A2,0.5) moves zero months, not half a month.
  • EDATE doesn't move by years directly. Use months of 12 or 24, or DATE with YEAR(A2)+1.
  • Text dates that Excel can't read return #VALUE!. Convert them with DATEVALUE first.

Questions people ask

How do I add months to a date in Excel?

Use `=EDATE(A2,3)` to add three months, or `=EDATE(A2,-3)` to go back three. Format the result as a date.

How do I add one year to a date?

Use `=EDATE(A2,12)`. It handles 29 February by returning 28 February in a non-leap year. `=DATE(YEAR(A2)+1,MONTH(A2),DAY(A2))` returns 1 March in that case instead.

What does EDATE do when the day doesn't exist in the new month?

It returns the last day of that month. 31 January plus one month is 28 February, or 29 in a leap year.

Is EDATE the same as EOMONTH?

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

Why does EDATE return a number instead of a date?

Excel stores dates as numbers. Select the cell and choose a date format on the Home tab.

Learn EDATE in a real sheet.

EDATE is taught in Dates and financial modelling, lesson 4: Adding months with EDATE. Each lesson is a short, graded exercise like the one above.