Meetings on the “3rd Thursday,” pay dates on the “2nd Friday,” US holidays like Thanksgiving (4th Thursday of November) — all need the nth weekday of a month. One DATE + WEEKDAY formula finds it for any month and year.
The example
The 3rd Thursday of June 2026.
| A | B | |
|---|---|---|
| 1 | Target | Date |
| 2 | 3rd Thursday, Jun 2026 | 6/18/2026 |
| 3 | 1st Monday, Jun 2026 | 6/1/2026 |
| 4 | 4th Thu, Nov 2026 (Thanksgiving) | 11/26/2026 |
The formula
The 3rd Thursday (DOW 5) of June (M 6) 2026:
How it works
The formula builds the date in three moves:
DATE(2026,6,1)is the 1st of the month — the starting point.MOD(DOW - WEEKDAY(firstOfMonth), 7)counts how many days forward to the first occurrence of the target weekday.- Adding
(N-1)*7jumps ahead the right number of whole weeks for the nth occurrence. - For the 3rd Thursday: first Thursday is June 4, plus 2 weeks = June 18.
Last weekday of the month? Work backward from the month end: =EOMONTH(date,0) - MOD(WEEKDAY(EOMONTH(date,0)) - DOW, 7) finds the last Friday, last Monday, etc.
Try it: interactive demo
Pick which occurrence, weekday, and month of 2026.
Variations
Last weekday of the month
Count back from the month end:
US Thanksgiving (4th Thu of Nov)
Plug in the values:
From inputs in cells
Reference Y/M/DOW/N cells:
Pitfalls & errors
A “5th” that doesn’t exist. Not every month has a 5th Thursday; the formula rolls into the next month. Guard with a check that MONTH(result)=M.
Weekday numbering. The default WEEKDAY has Sunday = 1. Keep your DOW input on the same scale (Sun=1…Sat=7).
Format the result as a date. The formula returns a serial number; set the cell to a Date format.
Practice workbook
Frequently asked questions
How do I find the nth weekday of a month in Excel?
How do I get the last Friday (or other weekday) of a month?
How do I calculate Thanksgiving (4th Thursday of November)?
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