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
Example 1. Expiry 3 months later
=EDATE(A2, 3)If A2 is 2026-05-04, the result is 2026-08-04.
Example 2. The same day a year ago
=EDATE(A2, -12)Negative months go back in time. 12 months is a year.
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
The result looks like a number
EDATE returns a serial number. Format the result cell as a date.
Trying to stay on the last day
EDATE(January 31, 1) is February 28, and one month after that is March 28. If you always need the last day, use EOMONTH.
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.