formulastreak

Dates function

EDATE function in Google Sheets and Excel

EDATE moves a date forward or back by a number of whole months, keeping the day of the month.

Checked against Microsoft's and Google's documentation on · Example calculated on a live sheet

Syntax

EDATE(start_date, months)

Arguments in [brackets] are optional. Google Sheets writes it EDATE(start_date, months).

Example

=EDATE(C2,3) reads: Take Amara's start date in C2 and move it three months later.

Team directory · edit G2 and watch it recalculate
Click a cell (or use the arrow keys) to insert its address · Enter shows the resultG2 = 15 Jul 2019
ABCDEFGH
1NameDeptStartedBornSalaryLevelCheck-inAs of
2Amara OseiSales15 Apr 20192 Aug 1990$58,000215 Jul 201930 Jun 2026
3Ben FischerSupport9 Jan 202321 Nov 1996$41,00019 Apr 2023
4Lina ChenEngineering1 Sep 201614 Mar 1987$88,00041 Dec 2016
5Diego AlvarezSales28 Jun 202130 Jun 1993$52,000228 Sep 2021
6Eva NovakFinance12 Feb 20185 Dec 1985$74,000312 May 2018
7Farid HaddadEngineering4 Mar 202419 Jan 1998$68,00024 Jun 2024
8Grace KimSupport19 Oct 202027 Sep 1991$45,000219 Jan 2021
9Hugo MartinFinance11 May 20158 Apr 1979$88,000411 Aug 2015
10Ines VargaEngineering14 Nov 202228 Feb 1995$79,000314 Feb 2023
11Kenji MoriSales25 Aug 202516 Jul 2000$39,000125 Nov 2025

G2 shows 15 Jul 2019: three months after Amara's start date.

How the spreadsheet calculates it

Gives the date 3 month(s) after C2 (negative goes back).

  1. 1. EDATE: Gives the date 3 month(s) after C2 (negative goes back).
    • date = `C2`: the starting date
    • months = `3`: how many months to move; negative goes back

More EDATE examples

  • =EDATE(C2,6)The end of a six-month probation from the start date.
  • =EDATE(C2,12*5)The fifth work anniversary.
  • =EDATE(TODAY(),-3)The date three months ago.
  • =IF(EDATE(C2,6)<=$H$2,"Passed","In probation")Whether the probation has ended by the As of date.

Paste any of these into the formula explainer to see it step by step.

Tips

  • Use negative months to look back, such as a date six months before a deadline.
  • Fill a schedule down with EDATE($B$1,ROW()-1) or point each row at the one above.
  • For the end of the month instead of the same day, use EOMONTH.

What EDATE is used for

Probation end dates, renewal and expiry dates for contracts and subscriptions, warranty periods, and monthly payment schedules where each date is one month after the last.

Arguments

ArgumentRequiredWhat it is
start_dateYesThe date to move.
monthsYesHow many months to move: positive goes forward, negative goes back. Decimals are cut to whole months.

Common mistakes

  • Adding days instead: months have different lengths.

  • Expecting the 31st to stay the 31st: when the target month is shorter, EDATE returns its last day, so 31 Jan + 1 month is 28 Feb 2026.

  • Getting a number like 43661: give the result cell a date format.

In Google Sheets

Google Sheets has EDATE with the same two arguments (start_date, months), so contract and probation dates calculate the same way in both apps.

Errors you may see with EDATE

  • #VALUE!: start_date isn't a valid date, for example text like "soon".
  • #####: The column is too narrow for the date format; widen it.

Questions

How do I add months to a date in Excel?

EDATE(date, months): EDATE(C2,3) is three months later, EDATE(C2,-3) three months earlier. Adding 30 or 90 days drifts, because months have different lengths.

How do I add years?

Move by 12 months per year: EDATE(C2,12*5) is the fifth anniversary.

What happens on the 31st?

If the target month has no such day, EDATE gives that month's last day: EDATE(DATE(2026,1,31),1) is 28 Feb 2026.

How do I list monthly dates for a payment plan?

Put the first date in one cell and move each row on by its row count: with the first payment in B2, EDATE($B$2,ROWS($B$2:B2)-1) filled down gives the same day in every following month. In Microsoft 365, EDATE(B2,SEQUENCE(12)-1) makes all twelve at once.

Sources

Official documentation the facts on this page were checked against.

Practise EDATE on a live sheet

Lesson 27, Years, months and tenure (Unit 7, Dates and time maths), has 5 graded exercises, checked instantly, with steps and hints when you're stuck. Pro