Month-end reporting rarely lands on a weekend. WORKDAY combined with EOMONTH gives you the last business day of any month — and skips holidays too.
The example
The last business day for several 2026 months (no holidays).
| A | B | |
|---|---|---|
| 1 | Month of | Last business day |
| 2 | May 2026 | Fri 5/29/2026 |
| 3 | Aug 2026 | Mon 8/31/2026 |
| 4 | Oct 2026 | Fri 10/30/2026 |
The formula
Last working day of the month containing A2:
How it works
Two functions cooperate:
EOMONTH(A2, 0)returns the last calendar day of A2’s month.- Adding
1moves to the 1st of the next month. WORKDAY(thatDate, -1)steps one working day backward, landing on the last business day — skipping any weekend.- Pass a holidays range as WORKDAY’s 3rd argument to skip those too:
=WORKDAY(EOMONTH(A2,0)+1, -1, D2:D5).
First business day is the mirror image: =WORKDAY(EOMONTH(A2,-1), 1, holidays) — start at last month’s end and step one working day forward.
Try it: interactive demo
Pick any date; see its month's last business day.
Variations
First business day
Mirror the logic forward:
Skip holidays too
Add a holidays range:
Last calendar day
If weekends don’t matter:
Pitfalls & errors
Don’t forget the +1. WORKDAY counts from its start without including it, so you step to the 1st of next month, then back one working day. Skipping the +1 lands a day early.
Custom weekends need WORKDAY.INTL with a weekend code — plain WORKDAY always treats Sat/Sun as the weekend.
Format the result as a date. WORKDAY returns a serial number; if the cell shows a number like 46176, apply a date format.
Practice workbook
Frequently asked questions
How do I find the last business day of the month in Excel?
How do I exclude holidays?
How do I get the first business day instead?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class