Google Sheets EOMONTH function
Returns the last day of the month, shifted by the months you give. In Spanish Sheets it is called FIN.MES.
Syntax
English Sheets
=EOMONTH(start_date, months)
Spanish Sheets (Mexico locale)
=FIN.MES(fecha_inicio, meses)
Spanish Sheets (Spain, Latin America)
=FIN.MES(fecha_inicio; meses)
| Argument | What it is |
|---|---|
| start_date | The starting date. |
| months | 0 for the same month, 1 for the next… |
Example
EDATE(date, months) adds months to a date and handles short months (January 31 + 1 month = February 28). EOMONTH(date, months) returns the last day of the month.
=EOMONTH(D2,0)
Common mistake
For the first day of the next month add 1: EOMONTH(A2,0)+1.
About Ads
This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.
Ads help us keep WebHerramientas free for everyone
Practice EOMONTH
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
Due dates with EDATE and EOMONTH
EDATE(date, months) adds months to a date and handles short months (January 31 + 1 month = February 28). EOMONTH(date, months) returns the last day of the month.
In D2, calculate the due date: the start plus the contract’s months.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Contract | Start | Months | Due | Month end | |
| 2 | C-01 | 01/31/2026 | 1 | |||
| 3 | C-02 | 03/15/2026 | 6 | |||
| 4 | C-03 | 05/31/2026 | 4 | |||
| 5 | C-04 | 08/01/2026 | 12 | |||
| 6 | C-05 | 10/30/2026 | 3 | |||
| 7 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is EOMONTH called in Spanish?
- In Spanish Google Sheets it is FIN.MES. The formula =EOMONTH(D2,0) is written =FIN.MES(D2;0) (or with commas under a Mexico locale).
- Why does EOMONTH use semicolons in some spreadsheets?
- It depends on each spreadsheet's locale, under File > Settings. Where the comma is the decimal mark (Spain, much of South America), arguments are separated by semicolons. Mexico and United States locales use commas.
- What is the most common EOMONTH mistake?
- For the first day of the next month add 1: EOMONTH(A2,0)+1.