Skip to content

EDATE returns the wrong date — slash literals and month-end clip in Google Sheets

Updated

EDATE(start_date, months) is supposed to move a date by a whole number of months. Two inputs go wrong without a red triangle. Official Help warns that EDATE(10/10/2000,1) is not a date at all: Sheets evaluates the slashes as division, so the start becomes 0.005. And when the start day does not exist in the target month — 31 January plus one month — EDATE stays in February on the last valid day. DATE(2024,2,31) would have spilled into March instead.

This page is those silent EDATE results. #NUM! from an impossible serial or a month count that leaves the calendar is the same family already covered for EOMONTH #NUM!. Illegal months and days inside DATE itself are DATE silent recalculation. Keep the Google Sheets UI in English. Locale United States.

Official Help: EDATE.

  1. Open a blank spreadsheet. File → Settings: display language English, Locale United States. In A1 type start. In A2 enter =DATE(2000,10,10). Format A2 as a date. A2 is 10/10/2000.

A legal offset, as control. In C1 type edate_ok. In C2 enter =EDATE(A2,1). C2 is 11/10/2000 (10 November 2000). In D2 enter =TEXT(C2,"yyyy-mm-dd"). D2 is 2000-11-10. Leave C2 as the control.

Slashes in the formula are division. In C4 type slash. In C5 enter =EDATE(10/10/2000,1). Official Help: this is interpreted as EDATE(0.005,1), “the quotient of 10 divided by 10 divided by 2000.” The cell is not 11/10/2000. Format C5 as a date so you can see where 0.005 plus one month landed. In D5 enter =TEXT(C5,"yyyy-mm-dd"). C5 displays 1/30/1900, and D5 is 1900-01-30. In E5 enter =EDATE(0.005,1). E5 matches C5. Leave C5 as 1/30/1900. There is no triangle.

C5 selected. Formula bar shows =EDATE(10/10/2000,1). C5 displays 1/30/1900. D5 is 1900-01-30. C2 is still 11/10/2000 from EDATE of DATE(2000,10,10). E5 matches C5. No error triangle.

31 January plus one month stays in February. In A8 enter =DATE(2024,1,31). A8 is 1/31/2024 (2024 is a leap year). In C8 enter =EDATE(A8,1). C8 is 2/29/2024, not 3/2/2024 and not 3/3/2024. In D8 enter =TEXT(C8,"yyyy-mm-dd"). D8 is 2024-02-29.

In A10 enter =DATE(2023,1,31). In C10 enter =EDATE(A10,1). 2023 is not a leap year. C10 is 2/28/2023. D10 is 2023-02-28. Leave C8 and C10 as those February ends.

The DATE overflow, as contrast. In C12 enter =DATE(2024,2,31). C12 is 3/2/2024 (31 is two days past a 29-day February). D12 is 2024-03-02. Same calendar question, different function: DATE rolls out of February, EDATE clips to 29 February. Leave C12 as 2 March so the two contracts sit on one sheet.

C8 selected. Formula bar shows =EDATE(A8,1) with A8 equal to DATE(2024,1,31). C8 displays 2/29/2024. C10 is 2/28/2023 from EDATE of 31 Jan 2023. C12 is 3/2/2024 from DATE(2024,2,31). No triangle on C8.

A decimal month is truncated. In C14 enter =EDATE(A2,2.6). Official Help: this is equivalent to EDATE(A2,2). C14 is 12/10/2000, not mid-way toward January 2001. In C15 enter =EDATE(A2,2). C15 matches C14. Leave C14 as 10 December 2000.

Month-end on purpose. In C17 enter =EOMONTH(A8,1). C17 is also 2/29/2024 for this leap-year start, because the last day of the next month is the question EOMONTH answers. The difference appears on a mid-month start: in C18 enter =EOMONTH(A2,1). C18 is 11/30/2000. C2, the EDATE of the same start, stayed on the 10th.

  • Official Help: the start must be a date serial, a date-returning function, or a cell that already holds a date. EDATE “does not autoconvert number formats in the same way that Google Sheets does upon direct entry into cells.” 10/10/2000 typed into a cell can become a date. 10/10/2000 typed inside the formula is division.
  • Serial 0.005 is a date near the origin of the 1900 date system (see Official DATE Help on December 30, 1899). Adding one month to that origin date is a real EDATE result. It is just not 10 November 2000.
  • When the target month is shorter than the start day, EDATE does not invent 31 February and does not continue into March. It stays on the last day of the target month. 31 January 2024 plus one month is 29 February 2024. 31 January 2023 plus one month is 28 February 2023.
  • DATE(year, month, day) uses a different rule: leftover days overflow. DATE(2024,2,31) is 2 March 2024. See DATE silent recalculation.
  • Official Help: a non-integer months argument is truncated. 2.6 is 2.
  • An unparseable start serial or a month count that leaves the representable calendar is #NUM!. That error, including EOMONTH(4000000,0), is already on EOMONTH #NUM!. This page does not redo it.

This is not DATEVALUE locale. C5 failed because of division, not because the locale swapped day and month.

This is not ampersand date serial. No text join is involved.

Leave C5 as 1/30/1900 and C8 as 29 February 2024.

Build the start with DATE or a date cell. In F5 enter =EDATE(DATE(2000,10,10),1). F5 is 11/10/2000, matching C2. If the start arrives as text that this locale can parse, =EDATE(DATEVALUE(G5),1) is the conversion step; see DATEVALUE if that text is #VALUE!.

F5 selected. Formula bar shows =EDATE(DATE(2000,10,10),1). F5 displays 11/10/2000. C5 is still 1/30/1900 from the slash literal.

Decide clip versus month-end. For “the same day next month, or the last day if that day does not exist,” keep EDATE (C8, C10). For “always the last day of the month n months away,” use EOMONTH (C17, C18). Do not use DATE(year, month+1, day) to shift a month-end start; that is the overflow in C12.

Integers for months. If the offset is computed, wrap it in INT or ROUND yourself. EDATE will not interpret 2.6 as “almost three months.”

Do not wrap C5 or C8 in IFERROR. Neither cell is an error. See IFERROR hides cause.

If EDATE of a slash-separated literal is nowhere near the date you typed, the slashes divided. If EDATE of 31 January is the last day of February, the function clipped; DATE(2024,2,31) is the overflow contrast. If the cell is #NUM!, leave this page and use EOMONTH #NUM!.