EDATE adds a number of months to a date. Its syntax is:
=EDATE(start_date, months)
For example, =EDATE(A2,3) returns the date three months after the date in A2. If A2 holds March 14, 2026, the result is June 14, 2026. Use a negative number to move backward, such as -3 for three months earlier. The number of months can also come from a cell: =EDATE(A2,B2).
How EDATE handles the end of a month
When the start date is near the end of a month and the target month is shorter, EDATE returns the last day of the target month. January 31, 2026, plus one month is February 28, 2026. In a leap year, the same rule gives February 29. For example, January 31, 2028, plus one month is February 29, 2028.
DATE as the alternative
A formula that uses DATE carries the extra days forward instead:
=DATE(YEAR(A2),MONTH(A2)+1,DAY(A2))
For January 31, 2026, this returns March 3, 2026, because February 31 doesn’t exist and the extra days roll into March. Choose the formula that matches the rule you need. How the DATE function handles these values is covered in excel date function from year month day.
Adding 30 days is not the same as adding a month
Months have different lengths, so =A2+30 and =EDATE(A2,1) can give different dates. For January 14, 2026, adding 30 days gives February 13, while adding one month gives February 14.
The last day of the target month
EDATE doesn’t return the last day of a month unless the start date was one. To get the last day of a month some number of months away, use EOMONTH. For example, =EOMONTH(A2,3) returns the last day of the month three months after A2. The steps are in last day of month formula in excel.
When the result looks wrong
- The cell shows a number. Format it as a date with Ctrl+1. A common cause is covered in why does excel show date as number.
- The result is #VALUE!. The start date is probably text. How to clear that is in how to fix #value error in excel.
Where to go next
EDATE suits renewals, subscriptions and monthly schedules. Test it on two or three rows first, and include a start date on the 31st, since that’s where the month-end rule shows.