SheetsLessons
Date & Time function

EDATE function in Google Sheets

EDATE returns the date a given number of months before or after a start date, on the same day of the month. Use it for renewal dates, probation ends, subscription cycles and anything else measured in months, where adding 30 days would drift.

Syntax

=EDATE(start_date, months)
start_date
The date to start from.
months
How many months to move. Negative numbers go back in time.

Practice EDATE

Task 1 of 1

Each subscription runs for the number of months in column B. Return the first one's end date in C2.

C2
fx

Tip: while typing a formula, click a cell or drag across cells to insert references. Press Enter to check, and Tab to accept a function suggestion.

EDATE examples

Each example below runs against this sample sheet. The results are calculated by the same engine as the practice grid.

ABCD
1NameBirthdateHire dateReview
2Maya4/12/19889/2/20193/31/2026
3Leo11/30/19951/31/20226/15/2026
4Ava2/28/20017/14/20251/31/2026
Staff records
FormulaResultWhat it shows
=EDATE(C2, 6)3/2/2020Six months after Maya was hired.
=EDATE(C3, 1)2/28/2022One month after January 31 is February 28: EDATE stops at the month's last day.
=EDATE(D2, -12)3/31/2025One year before Maya's review.
=EDATE(C4, 3)-110/13/2025The last day of a 3-month probation period.

Tips and common mistakes

  • EDATE returns a number. Format the cell as a date to see it as one.
  • For the end of a month rather than the same day, use EOMONTH.
  • months is truncated to a whole number, so EDATE(A2, 1.9) moves one month.

Related functions