To shift a date forward or back by whole months — a renewal 12 months out, a due date 3 months later — use EDATE. It keeps the day-of-month and handles month-length and leap-year edge cases that plain addition gets wrong.
The example
Start dates shifted forward by a number of months.
| A | B | C | |
|---|---|---|---|
| 1 | Start | +3 months | +12 months |
| 2 | 1/15/2026 | 4/15/2026 | 1/15/2027 |
| 3 | 1/31/2026 | 4/30/2026 | 1/31/2027 |
The formula
Three months later in B2:
How it works
EDATE shifts by whole months intelligently:
EDATE(A2, 3)moves the date 3 months forward, keeping the same day — Jan 15 → Apr 15.- When the target month is shorter, EDATE lands on its last valid day — Jan 31 + 3 months → Apr 30 (April has no 31st).
- Use a negative number to go back:
EDATE(A2, -1)is one month earlier. - For years, multiply:
EDATE(A2, 12)is one year;EDATE(A2, 5*12)is five years out.
Need the end of that month? EOMONTH does both jobs: =EOMONTH(A2, 3) returns the last day of the month three months ahead — handy for billing periods.
Try it: interactive demo
Pick a start date and how many months to add.
Variations
Add years
Months × 12:
Subtract months
Negative shift:
End of the month N months out
EOMONTH for billing periods:
Pitfalls & errors
Don’t add 30 for “a month.” =A2+30 drifts — months aren’t all 30 days. EDATE shifts by true calendar months.
Month-end shifts down. Jan 31 + 1 month is Feb 28 (or 29), not an invalid Feb 31. That’s usually desired, but know it happens.
Result may show as a serial number. Format the cell as a Date if you see something like 46127.
Practice workbook
Frequently asked questions
How do I add months to a date in Excel?
How do I add years to a date?
Why not just add 30 days for a month?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class