Dates function
Excel EDATE function
EDATE returns the date a given number of months before or after a start date. Use it for contract renewals, subscription billing dates, warranty expiry, and anything that repeats monthly.
=EDATE(start_date, months)Arguments
start_date- The date to start from.
months- How many months to move. Use a negative number to go back in time.
EDATE examples
Every result below was calculated from this sample sheet by the same spreadsheet engine the Cellwise app uses.
| A | B | C | |
|---|---|---|---|
| 1 | Contract | Start date | Term (months) |
| 2 | Cleaning service | 2026-01-31 | 6 |
| 3 | Software license | 2026-04-15 | 12 |
| 4 | Equipment lease | 2025-09-01 | 36 |
Result: Apr 15, 2027
The software license renews one year later, on April 15, 2027.
Result: Sep 1, 2028
Uses the term column: the lease ends 36 months after it starts.
Result: Feb 28, 2026
January 31 plus one month is February 28, because February has no 31st.
Result: Jan 15, 2026
A negative number goes back: three months before the start date.
How to use EDATE
- Click the cell for the new date.
- Type =EDATE( and click the start date.
- Type a comma and the number of months.
- Press Enter and format the cell as a date if needed.
Common EDATE mistakes
Adding 30 days instead of a month
Months have 28 to 31 days. EDATE moves by calendar months, so billing dates stay on the same day.
Result shows as a number
EDATE returns a date serial number. Format the cell as a date.
Expecting the 31st every month
If the month is shorter, EDATE uses its last day. For month-ends every time, use EOMONTH.
EDATE FAQ
How do I add months to a date in Excel?
Use =EDATE(A2,6) to add six months. Use a negative number, like -6, to subtract months.
How do I add years to a date in Excel?
Multiply the years by 12 inside EDATE: =EDATE(A2,12*3) adds three years.
What is the difference between EDATE and EOMONTH?
EDATE keeps the same day of the month. EOMONTH always returns the last day of the target month.
Practice EDATE in these lessons
Guides that use EDATE
Related functions
EOMONTHLast day of a monthDATEBuilds a dateTODAYToday’s dateDATEDIFWhole years, months or days between
Updated