How do I use EOMONTH in Excel?
Use EOMONTH when you want to return the last day of a month. Enter Start date, Months in that order, then add optional arguments when needed.
Returns last day of month shifted by months.
EOMONTH(start_date, months)start_date
RequiredEnter a date/reference-related value.
months
RequiredEnter a numeric value.
Use EOMONTH to return the result with these settings (Start date: B2 (cell B2 (Start Date in column B)), Months: 0).
| # | ATask ID | BStart Date | CEnd Date | DNotes | EHoliday |
|---|---|---|---|---|---|
| 2 | T001 | 2026/03/01 | 2026/03/05 | Standard task | 2026/03/03 |
| 3 | T002 | 2026/03/03 | 2026/03/10 | Priority task | 2026/03/06 |
| 4 | T003 | 2026/03/05 | 2026/03/12 | Standard task | 2026/03/10 |
| 5 | T004 | 2026/03/08 | 2026/03/14 | Urgent task | 2026/03/12 |
| 6 | |||||
| 7 | |||||
| 8 |
How to Use (Formula)
=EOMONTH(B2, 0)Result
2026/03/31
Use EOMONTH when you want to return the last day of a month. Enter Start date, Months in that order, then add optional arguments when needed.
Use the "Start Function Practice" button to jump straight into EOMONTH drills.
The main arguments are Start date, Months. Enter them in order.