Excel function

EDATEfunction

Returns the same day a number of months later (or earlier).

All versions
=EDATE(DATE(2026,1,31), 1)

January 2026

Sun
Mon
Tue
Wed
Thu
Fri
Sat

February 2026

Sun
Mon
Tue
Wed
Thu
Fri
Sat

Click a date on the calendar to change start_date. Enter -1 or 12 for months. Change the start date to the 30th or 31st and it moves to the last day in shorter months. Try breaking it on purpose to see the errors.

Result

2026-02-28

start_date
Jan 31, 2026 (Sat)

The starting date.

months

The number of months to add. Negative goes back in time. Decimals are dropped.

What is the EDATE function?

=EDATE(start_date, months)

EDATE returns the same day a given number of months after (or before) a date. Use it for "the same day n months later", such as contract expiry, warranty periods or the next billing date.

If that month has no such day, like one month after January 31, it moves to the last day of the month (February 28). The calendar shows exactly this case at first.

Arguments

start_date
The starting date.
months
The number of months to add. Negative gives a past date. Decimals are dropped.

EDATE examples

  1. Example 1. Expiry 3 months later

    =EDATE(A2, 3)

    If A2 is 2026-05-04, the result is 2026-08-04.

  2. Example 2. The same day a year ago

    =EDATE(A2, -12)

    Negative months go back in time. 12 months is a year.

  3. Example 3. Month-end adjustment

    =EDATE(DATE(2024,2,29), 12)

    February 2025 has no 29th, so the result is 2025-02-28.

Common mistakes

FAQ

A number of days later?
Just add a number to the date. =A2+30 is 30 days later.
The result shows a number like 46146.
Excel stores dates as serial numbers, with January 1, 1900 as 1. Format the result cell as a date and it shows like 2026-05-04. The value is the same, so calculations are fine.