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)

ArgumentWhat it is
start_dateThe starting date.
months0 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.

Advertising
Loading ad...

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.

Step 1/2

In D2, calculate the due date: the start plus the contract’s months.

D2
ABCDEF
1ContractStartMonthsDueMonth end
2C-0101/31/20261
3C-0203/15/20266
4C-0305/31/20264
5C-0408/01/202612
6C-0510/30/20263
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.