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.
Syntax =EOMONTH(start_date, months)
=EOMONTH(DATE(2026,1,15),1)Arguments
| Name | Required | What to pass |
|---|---|---|
| start_date | Required | A date in the starting month. The day of the month does not change the result's day. The result is always a month-end. |
| months | Required | How 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
| A | B | |
|---|---|---|
| 1 | Start | 1/15/2026 |
| 2 | Months | 1 |
| 3 | Month end | 2/28/2026 |
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.