Sub topic 3
EDATE: the same day, shifted by n months
This chapter assumes basic Excel formulas, relative and absolute references, and a column-based financial model with periods across columns. You should also know the basic use of SUMIFS, YEAR, and MONTH.
What EDATE does
EDATE returns a date that is a specified number of whole months before or after another date.
=EDATE(start_date, months)start_dateis the date to move.monthsis the number of months to move.- A positive number moves forward.
- A negative number moves backward.
- Zero returns the original date.
For example:
=EDATE(DATE(2025,1,15),1) -> 15-Feb-2025
=EDATE(DATE(2025,1,15),-1) -> 15-Dec-2024
=EDATE(DATE(2025,1,15),0) -> 15-Jan-2025Excel stores dates as serial numbers. The displayed date is controlled by the cell's number format. If an EDATE result appears as a number such as 45603, format the cell as a date.
Day-of-month behavior
For ordinary dates, EDATE keeps the day number. A date on the 15th remains on the 15th after the month shift.
The target month might not contain the original day. In that case, Excel returns the last day of the target month.
| Starting date | Months shifted | Result |
|---|---|---|
| 15-Jan-2025 | 1 | 15-Feb-2025 |
| 31-Jan-2025 | 1 | 28-Feb-2025 |
| 31-Jan-2024 | 1 | 29-Feb-2024 |
| 31-Jan-2025 | 2 | 31-Mar-2025 |
=EDATE(DATE(2025,1,31),1) -> 28-Feb-2025
=EDATE(DATE(2024,1,31),1) -> 29-Feb-2024
=EDATE(DATE(2025,1,31),2) -> 31-Mar-2025The two-month example is calculated from 31 January. Excel does not first create 28 February and then add another month.
Chaining and event schedules
Chaining means using one result as the input to the next formula:
=EDATE(DATE(2025,1,31),1) -> 28-Feb-2025
=EDATE(EDATE(DATE(2025,1,31),1),1) -> 28-Mar-2025The second formula starts from 28 February, so it returns 28 March. A direct two-month calculation returns 31 March:
=EDATE(DATE(2025,1,31),2) -> 31-Mar-2025For payments, anniversaries, or maturities, store the original event date in one input cell. Store the event number in a row, then calculate every event from the original date.
Inputs: C4 = 31-Jan-2025
Payment number: D8 = 1
Payment date: D9 = EDATE($C$4,D8)
Payment number: E8 = D8+1
Payment date: E9 = EDATE($C$4,E8)This produces 28 February for payment 1 and 31 March for payment 2. The absolute reference $C$4 keeps every formula anchored to the original drawdown date.
EDATE versus EOMONTH
Use EDATE when the day of the month represents the event. Use EOMONTH when the period must end on the actual last day of a month.
Do not use chained EDATE formulas to build month-end period columns. Use EOMONTH so February, leap years, and other month lengths remain correct.
Exercise
What result does =EDATE(DATE(2025,1,31),2) return, and why is it different from chaining two one-month EDATE formulas?
Show answer
It returns 31-Mar-2025 because it calculates two months from the original 31 January. Chaining first produces 28 February, so the next shift returns 28 March.