Which Week of the Month Is It?

Excel Formulas › Date & Time

All versionsWEEKNUM

Is a date in week 1, 2, or 3 of its month? Subtract the month’s starting week number from the date’s week number (plus one) to get the week-of-month — handy for schedules and “2nd Tuesday” rules.


Quick formula: week of the month for the date in A2:
=WEEKNUM(A2) - WEEKNUM(DATE(YEAR(A2), MONTH(A2), 1)) + 1
The date’s week number minus the week number of the 1st of that month, plus 1, gives the week within the month.

Functions used (tap for the full reference guide):

The example

June 17, 2026 falls in week 3 of June.

AB
1DateWeek of month
26/17/20263

The formula

Week number relative to the month start:

=WEEKNUM(A2) - WEEKNUM(DATE(YEAR(A2),MONTH(A2),1)) + 1 // June 17 → week 3

How it works

It’s a difference of week numbers:

  1. WEEKNUM(A2) is the date’s week number within the year.
  2. WEEKNUM(first of month) is the week number where that month begins.
  3. Subtract and add 1 — the result is the week within the month (1–6).
  4. Use a matching WEEKNUM return type in both (e.g. 2 for Monday-start) so the math lines up.

“Nth weekday” pairs with this. Combine week-of-month with the weekday to express rules like “the 2nd Tuesday” — or jump straight to the nth-weekday-of-month recipe to compute that date.

Try it: interactive demo

Live demo

Pick a date; see its week of the month.

Week of month:

Variations

Simple day-based

By day number:

=ROUNDUP(DAY(A2)/7, 0)

Monday-start weeks

Match return type 2:

=WEEKNUM(A2,2) - WEEKNUM(DATE(...),2) + 1

Is it the last week?

Compare to month-end week.

Pitfalls & errors

Two WEEKNUM conventions. Use the same return-type argument in both calls, or the difference is off.

Week-of-month definitions vary. The ROUNDUP(DAY/7) version (days 1–7 = week 1) differs from the WEEKNUM version (calendar weeks). Pick the one your context means.

Real dates only.

Practice workbook

📊
Download the free Which Week of the Month Is It? practice workbook
A week-of-month calculator with the day-based and Monday-start variants, plus 4 challenges with answers. No sign-up required.

Frequently asked questions

How do I find the week of the month in Excel?
Use =WEEKNUM(A2) - WEEKNUM(DATE(YEAR(A2),MONTH(A2),1)) + 1, which is the date's week number minus the month-start week number, plus one.
Is there a simpler version?
Yes, by day number: =ROUNDUP(DAY(A2)/7, 0) treats days 1-7 as week 1, 8-14 as week 2, and so on.
Why does my week-of-month look off by one?
The two WEEKNUM calls must use the same return-type argument, and calendar-week vs day-based definitions differ. Pick one convention.

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

Related formulas: ISO week number · Nth weekday of month · First & last day of month

Function references: WEEKNUM