# EDATE in Google Sheets: syntax and examples

URL: https://goingstellar.ro/reference/sheets/edate/

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

- `start_date` (date, required: yes): The starting date: a date value, a cell with a date, or DATE(y, m, d).
- `months` (number, required: yes): How 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:

| Item | Start | Months |
|---|---|---|
| Subscription | 46053 | 12 |
| Leap day | 45351 | 12 |
| Invoice | 46037 | -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 2026-11-29.

```
=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 2026-11-29.

```
=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 2026-11-29.

```
=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 2026-11-29.

```
=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 2026-11-29.

## 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.

## Related functions

- [EOMONTH](https://goingstellar.ro/reference/sheets/eomonth/)
- [DATE](https://goingstellar.ro/reference/sheets/date/)
- [DATEDIF](https://goingstellar.ro/reference/sheets/datedif/)
- [MONTH](https://goingstellar.ro/reference/sheets/month/)
- [DAY](https://goingstellar.ro/reference/sheets/day/)

## Sources

- [EDATE (Docs Editors Help)](https://support.google.com/docs/answer/3092974)

