Function · Date and time

Excel EOMONTH function

The Excel EOMONTH function returns the last day of a month. One month after January 15, 2026 is the last day of February, February 28, 2026.

Excel 2007 and later. Also in Excel for the web and Google Sheets.

Syntax =EOMONTH(start_date, months)

EOMONTH
=EOMONTH(DATE(2026,1,15),1)

Arguments

NameRequiredWhat to pass
start_dateRequiredA date in the starting month. The day of the month does not change the result's day. The result is always a month-end.
monthsRequiredHow many months to move before taking the month-end. 0 is the end of the start month. Negative goes backward.

Examples

The last day of the month after January 15, 2026

=EOMONTH(DATE(2026,1,15),1)

Result February 28, 2026

=EOMONTH(B1,B2)B3
Month end
AB
1Start1/15/2026
2Months1
3Month end2/28/2026
A picture of the sheet, not a live calculator.

EOMONTH returns the last calendar day of a month. One month after any day in January 2026 is February 28, 2026. The 15th in the start date does not become the 15th. Zero months returns the end of the start month, January 31. A negative number walks backward: one month before January 15, 2026 is December 31, 2025.

EDATE would keep the 15th and land on February 15. Use EOMONTH for a due date that is always the last day, and for the end of a reporting month. February 29 appears only when the landing year is a leap year. 2026 is not one.