Going Stellar

Home/Google Sheets reference

Google Sheets function · Date

EDATE in Google Sheets: syntax and examples

EDATE returns the date that falls a set number of months before or after a start date. It keeps the same day of the month. When that day does not exist in the target month, it uses the last day instead.

Syntax

EDATE(start_date, months)

Arguments

ArgumentTypeRequiredWhat it does
start_datedateyesThe starting date: a date value, a cell with a date, or DATE(y, m, d).
monthsnumberyesHow many months to move. Positive goes forward, negative goes back. A decimal is cut to a whole number.

Examples

The examples use this table, starting in A1:

ItemStartMonths
Subscription4605312
Leap day4535112
Invoice46037-3
=TEXT(EDATE(B2, 1), "yyyy-mm-dd")

Result: 2026-02-28

One month after 2026-01-31. February has no 31st, so the result lands on the last day of the month.

Run in a Google Sheet (English US locale) on .

=TEXT(EDATE(B2, C2), "yyyy-mm-dd")

Result: 2027-01-31

Renewal date: the start date plus the number of months from column C.

Run in a Google Sheet (English US locale) on .

=TEXT(EDATE(B3, 12), "yyyy-mm-dd")

Result: 2025-02-28

Leap day plus one year: 29 February 2024 moves to 28 February 2025.

Run in a Google Sheet (English US locale) on .

=TEXT(EDATE(B4, C4), "yyyy-mm-dd")

Result: 2025-10-15

A negative months value goes back: three months before 2026-01-15.

Run in a Google Sheet (English US locale) on .

=TEXT(EDATE(DATE(2026, 11, 30), 3), "yyyy-mm-dd")

Result: 2027-02-28

DATE builds the start date inside the formula. Three months after 30 Nov 2026 is 28 Feb 2027.

Run in a Google Sheet (English US locale) on .

Common errors

  • The cell shows the date in the locale's own format: 2/28/2026 in en_US, 28.02.2026 in Romania. Wrap EDATE in TEXT when you need a fixed format such as yyyy-mm-dd.
  • The day is kept only when the target month has it. 31 January plus one month gives 28 February, and adding another month does not return to 31 March.
  • A decimal months value is cut, not rounded: 1.9 moves one month.
  • Text that is not a date, such as "abc", returns #VALUE!. Use DATE or DATEVALUE for dates stored as text.

Compared with Excel

Same syntax and results as Excel EDATE.

Questions and answers

How do I add one year to a date in Google Sheets?

Use EDATE with 12 months: =EDATE(A2, 12). It handles leap days, so 29 February 2024 plus 12 months gives 28 February 2025.

Sources

  1. EDATE (Docs Editors Help)

Markdown version · All functions