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)| Argument | What it means | |
|---|---|---|
start_date | Required | The starting date. |
months | Required | Number 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
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Client | Start date | Term (months) | End date |
| 2 | Contoso | 2026-03-15 | 12 | 2027-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
| A | B | |
|---|---|---|
| 1 | Start | One month later |
| 2 | 2026-01-31 | 2026-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
| A | B | |
|---|---|---|
| 1 | Review date | Review period starts |
| 2 | 2026-08-31 | 2026-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
| A | B | C | |
|---|---|---|---|
| 1 | Employee | Hire date | Status |
| 2 | J. Chen | 2026-09-07 | Not 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".
Common errors and how to fix them
| Error | Why it happens | Fix |
|---|---|---|
#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.
| Language | Function name |
|---|---|
| Danish | EDATO |
| Dutch | ZELFDE.DAG |
| Finnish | PÄIVÄ.KUUKAUSI |
| French | MOIS.DECALER |
| German | EDATUM |
| Hungarian | KALK.DÁTUM |
| Italian | DATA.MESE |
| Norwegian (Bokmål) | DAG.ETTER |
| Polish | NR.SER.DATY |
| Portuguese (Brazil) | DATAM |
| Portuguese (Portugal) | DATAM |
| Russian | ДАТАМЕС |
| Spanish | FECHA.MES |
| Swedish | EDATUM |
| Turkish | SERİTARİH |
Recipes that use EDATE
- How to add months to a date in Excel
- How to create a loan payment schedule in Excel
- How to get the quarter from a date in Excel
- How to sum values by month in Excel