Find the last weekday of a month

Turn January 15, 2026 into the last weekday of its month: Friday, January 30, 2026.

What you'll make

In Excel: January 15, 2026 becomes Friday, January 30, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1A8The real date.November 4, 2026
2EOMONTH( … )Finds the last day of the date's month.November 30, 2026
3+1Adds one day: the 1st of next month.December 1, 2026
4-1Moves back one weekday.1 weekday back
5WORKDAY( … )Finds the weekday before, skipping Saturdays and Sundays.November 30, 2026

Read it from the inside out: EOMONTH (with 0, for this month) finds the month end, then WORKDAY steps back.

=WORKDAY(EOMONTH(A8,0)+1,-1)

How to use it

Yellow bar at the top? Click Enable Editing.

  1. See it work. The Example tab shows 20 made-up examples with the formula already in.
  2. Use your own dates. Paste real dates into the green column of the Template tab. The last weekdays fill in by themselves.
  3. Move them into your letter. Copy the results. Then use Paste Special and choose Values.

Before you send

Holidays still count as weekdays. Check any last weekday that lands on a holiday.

Microsoft's help: WORKDAY function