Dates and Times

How to Add Months to a Date in Excel

Add or subtract months from a date with EDATE, see how it handles month ends, compare it with DATE, and fix results that show as numbers or errors.

On this page
  1. How EDATE handles the end of a month
  2. DATE as the alternative
  3. Adding 30 days is not the same as adding a month
  4. The last day of the target month
  5. When the result looks wrong
  6. Where to go next

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.

The complete guide to dates and times

How to Work With Dates in Excel
Read the guide

Keep exploring

Guides from other topics

All topics →

How to Look Up Data in Excel

How lookups work in Excel, with VLOOKUP, XLOOKUP and INDEX with MATCH, how to set up your data, and how to choose the right function for the job.

Lookups 3 min read