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 =EDATE(A2,6) returns 15-Sep-2025
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(, )
All versions of Excel.
Try it
Edit the formula in B2 or change the inputs. The sheet recalculates as you type.
B2 =EDATE(A2,6) returns 15-Sep-2025
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".
=EDATE(A2,-3) is the same day three months earlier. A fraction is truncated, not rounded.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.
=EDATE(A2,12). Subtract 1 if the term ends the day before: =EDATE(A2,12)-1.=EDATE(A2,B2) where B2 holds the term in months.=EDATE(A2,B2)>=TODAY().=EDATE(A2,-12).=EDATE($A$2,ROW()-ROW($A$2)) filled down, or =EDATE($A$2,SEQUENCE(12,1,0)) in Microsoft 365.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.
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.
#VALUE!.2.8 is treated as 2.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
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 =EDATE(A2,6) returns 15-Sep-2025
Example 2
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 =EDATE(A2,1) returns 28-Feb-2025
Example 3
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 =EDATE(A2,B2)-1 returns 31-Aug-2027
Example 4
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 =IF(EDATE(A2,36)>=TODAY(),"Covered","Expired") returns Covered
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.
45915, apply a date format.EDATE(A2,0.5) moves zero months, not half a month.months of 12 or 24, or DATE with YEAR(A2)+1.#VALUE!. Convert them with DATEVALUE first.Use `=EDATE(A2,3)` to add three months, or `=EDATE(A2,-3)` to go back three. Format the result as 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.
It returns the last day of that month. 31 January plus one month is 28 February, or 29 in a leap year.
No. EDATE keeps the day number (15th stays 15th). EOMONTH always returns the last day of the target month.
Excel stores dates as numbers. Select the cell and choose a date format on the Home tab.
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.