Dates

Add months to a date in Excel (EDATE)

EDATE(start, months) returns the same day N months later; if that day doesn't exist, it returns the last day of the month.

All Excel versions and Google Sheets

The formula

Excel & Google Sheets (fill down)ExcelGoogle Sheets
=EDATE(A2,B2)
In D2 → Feb 28, 2026
✓ Tested. All 3 Excel results in this example were recalculated in LibreOffice Calc 25.2 and matched the values shown.

Worked example

Paste the data below into a blank sheet starting at cell A1 (or download the cheat sheet, where every example is set up). Highlighted cells hold the formulas and show the expected results.

ABCD
1StartMonths
2Jan 31, 20261Feb 28, 2026
3Jan 15, 20263Apr 15, 2026
4Aug 31, 2026-6Feb 28, 2026

How it works

A2
Start date.
B2
Months to add. Negative numbers subtract.

Common errors and fixes

Unexpected day?

Jan 31 + 1 month = Feb 28 (or 29). EDATE clamps to the month's last day.

Decimal months ignored?

EDATE truncates 1.5 to 1.

Does this work in Google Sheets?

Yes. The formulas on this page work the same way in Google Sheets.