Get the first chosen weekday of a month

Turn November 4, 2026 and weekday 1 into the first Monday of that month: November 2, 2026.

What you'll make

In Excel: November 4, 2026 + weekday 1 becomes Monday November 2, 2026.

The formula

The formula, with a numbered bracket under each part.
NumberPartWhat it doesFor row 8
1DATE(YEAR(A8),MONTH(A8),1)The first day of the date's month.November 1, 2026
2B8The weekday you want. Monday is 1, Sunday is 7.1
3-WEEKDAY( … ,2)Takes away the weekday of the 1st.1 - 7 = -6
4+MOD( … ,7)Adds 0 to 6 days to reach your weekday.November 2, 2026

Parts 2 and 3 work inside MOD. MOD turns their difference into 0 to 6 days to add.

=DATE(YEAR(A8),MONTH(A8),1)+MOD(B8-WEEKDAY(DATE(YEAR(A8),MONTH(A8),1),2),7)

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 and weekday numbers (1 to 7) into the green columns of the Template tab. The dates 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. Check any date that lands on a holiday.

Microsoft's help: WEEKDAY function