How to Add Months or Years to a Date in Google Sheets: EDATE, End-of-Month Dates and Renewal Dates (2026)

Renewal dates, next billing dates, warranty end dates and “six months from now” all need the same thing: a date a whole number of months away. Adding 30 days gets it wrong, because months have 28 to 31 days. Google Sheets has a function for it: EDATE takes a start date and a number of months and returns the date that many months later. This guide shows the basic formula, adding years, going back in time, what happens on the 31st and on February 29, month-end dates with EOMONTH, and one formula for a whole column.

The short answer

The example

A list with the item in column A, the start date in column B and the number of months in column C, rows 2 to 8. Columns D and E are filled in by the formulas below.

RowA: ItemB: Start dateC: MonthsD: EDATEE: EOMONTH
2Gym membership1/15/202612/15/20262/28/2026
3Phone plan1/31/202612/28/20262/28/2026
4Lease3/31/202669/30/20269/30/2026
5Warranty2/29/2028122/28/20292/28/2029
6Six months back8/31/2026-62/28/20262/28/2026
7Trial(no date yet)3(empty)(empty)
8Contract12/2/20262412/2/202812/31/2028

Step 1: add months with EDATE

Google’s help says EDATE “returns a date a specified number of months before or after another date”. In D2 enter this and fill it down to D8:

=IF(B2="", "", EDATE(B2, C2))

Gym membership starts on 1/15/2026, and one month later is 2/15/2026. Contract starts on 12/2/2026, and 24 months later is 12/2/2028. The IF(B2="", "", …) part keeps row 7 empty until it has a start date; without it, EDATE treats the empty cell as 0 and shows a date in 1900.

Months that are shorter: the 31st and February 29

When the target month has no such day, EDATE returns the last day of that month instead:

This is where the other ways of adding a month give different answers. For the Phone plan row (1/31/2026 in B3):

FormulaResultWhat it does
=EDATE(B3, 1)2/28/2026Same day next month, or the last day if the month is shorter
=EOMONTH(B3, 1)2/28/2026Always the last day of the month
=B3+303/2/202630 calendar days
=DATE(YEAR(B3), MONTH(B3)+1, DAY(B3))3/3/2026February 31 rolls over into March

The last row builds the date from its parts with DATE, YEAR, MONTH and DAY. Google’s DATE help says DATE “will silently recalculate numeric dates which fall outside of valid month or day ranges”, so February 31 becomes March 3. Use EDATE when you want to stay inside the next month.

Add years to a date

EDATE counts in months, so multiply the number of years by 12:

=EDATE(B2, 12*3)

For 1/15/2026 in B2 it returns 1/15/2029. With the number of years in a cell, use =EDATE(B2, 12*C2).

Subtract months

Google’s EDATE help describes the months argument as “the number of months before (negative) or after (positive)” the start date. Row 6 has -6: six months before 8/31/2026 is 2/28/2026, again the last day of the shorter month.

A renewal or expiry date the day before

A 12-month term that starts on 1/15/2026 usually ends on 1/14/2027. Subtract one day from the EDATE result:

=EDATE(B2, 12)-1

It returns 1/14/2027 for 1/15/2026 in B2.

Step 2: the last or first day of a month with EOMONTH

EOMONTH works like EDATE, but Google’s help says it returns “the last calendar day of the calculated month”. In E2 enter this and fill it down:

=IF(B2="", "", EOMONTH(B2, C2))

Gym membership (1/15/2026 + 1) gives 2/28/2026, and Contract (12/2/2026 + 24) gives 12/31/2028. Two variations on B2 = 1/15/2026:

Add months to today

Use TODAY() as the start date:

=EDATE(TODAY(), 3)

On 12/2/2026 it returns 3/2/2027. Google’s TODAY help says TODAY always represents the current date the last time the spreadsheet was recalculated, so the result moves forward each day. Use a fixed start date in a cell for anything that should not move.

One formula for the whole column

Instead of filling D2 down, clear D2:D8 and put this in D2 only (see Google’s ARRAYFORMULA help):

=ARRAYFORMULA(IF(B2:B="", "", EDATE(B2:B, C2:C)))

It returns a date for every row that has a start date, leaves empty rows empty, and covers rows you add later. In a column left on the Automatic format, the results show as serial numbers rather than dates: 46068 for 2/15/2026, 46081 for 2/28/2026 and so on. Select D2:D8 (plus any rows you add later) and choose Format › Number › Date (Google’s number format help); 46068 then shows as 2/15/2026.

If a cell below D2 already holds something, the formula can’t expand: D2 shows #REF! with the message “Array result was not expanded because it would overwrite data in D5.” (for a value in D5). Clear that cell and the results come back, though the cleared cell can show a serial number again (47177 in D5); select it and choose Format › Number › Date.

Common problems

FAQ

How do I add months to a date in Google Sheets?

Use EDATE: with the start date in B2, =EDATE(B2, 1) returns the same day one month later. For 1/15/2026 it returns 2/15/2026. Google’s EDATE help describes it as returning “a date a specified number of months before or after another date”.

How do I add years to a date?

Add 12 months per year: =EDATE(B2, 12*3) adds 3 years, so 1/15/2026 becomes 1/15/2029.

What happens when I add a month to January 31?

EDATE stops at the last day of the shorter month: =EDATE(DATE(2026, 1, 31), 1) returns 2/28/2026. A start date of 2/29/2028 plus 12 months returns 2/28/2029. Building the date with DATE(YEAR, MONTH+1, DAY) instead rolls over into March: for 1/31/2026 it returns 3/3/2026.

How do I subtract months from a date?

Use a negative number of months. Google’s EDATE help says the months argument is the number of months before (negative) or after (positive) the start date, so EDATE(B6, -6) with 8/31/2026 in B6 returns 2/28/2026.

How do I get the last day of the month in Google Sheets?

Use EOMONTH: =EOMONTH(B2, 0) returns the last day of the month B2 is in (1/31/2026 for 1/15/2026). Add 1 to get the first day of the next month: =EOMONTH(B2, 0)+1 returns 2/1/2026.

Why not just add 30 days?

Months have 28 to 31 days, so =B2+30 drifts: for 1/15/2026 it returns 2/14/2026, not 2/15/2026. EDATE always lands on the same day of the month when that day exists.

Want an email before each renewal date arrives? SheetReminders (disclosure: we make it) is a Google Sheets add-on that watches any date column and emails the right person before it arrives. Choose who gets the email (an address column or one fixed address) and when: multiple reminders per date, like 30, 7 and 0 days before; personalized emails with {{Column name}} and {{Days left}}; a digest mode with one email per person listing everything due; and a sent log written back to the row. The EDATE dates stay with the formulas above. Your data never leaves your Google account. 14-day free trial, no credit card required. It is on the Google Workspace Marketplace.
See SheetReminders

Related guides