Excel EOMONTH function
Returns the last day of the month, some months before or after a date. In Spanish Excel it is called FIN.MES.
Syntax
English Excel
=EOMONTH(start_date, months)
Spanish Excel (Mexico)
=FIN.MES(fecha_inicial, meses)
Spanish Excel (Spain, Latin America)
=FIN.MES(fecha_inicial; 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
EOMONTH(date,-1)+1 gives the first day of that date’s month.
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 Excel it is FIN.MES. The formula =EOMONTH(D2,0) is written =FIN.MES(D2;0) (or with commas in Mexico).
- Why does EOMONTH use semicolons in some Excel versions?
- It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
- What is the most common EOMONTH mistake?
- EOMONTH(date,-1)+1 gives the first day of that date’s month.