To label dates by week number — for weekly reports or sprint planning — use ISOWEEKNUM (the international standard, weeks start Monday) or WEEKNUM (US style, configurable). They can disagree, so pick deliberately.
The example
The same dates by ISO week.
| A | B | |
|---|---|---|
| 1 | Date | ISO week |
| 2 | 1/1/2026 | 1 |
| 3 | 6/17/2026 | 25 |
| 4 | 12/31/2026 | 53 |
The formula
The ISO week number in B2:
How it works
ISOWEEKNUM follows the international rule:
- It returns 1–53. Weeks start on Monday.
- Week 1 is the week that contains the year’s first Thursday — so early-January dates can belong to week 52/53 of the previous year, and late-December dates to week 1 of the next.
- It needs no configuration — it’s the same everywhere, which is why reports prefer it.
- For the US convention (week 1 = the week with Jan 1, weeks start Sunday), use
WEEKNUMinstead.
Group a report by week: combine the year and ISO week for a unique key — =ISOWEEKNUM(A2) & "/" & YEAR(A2) — or pair with a SUMIFS to total by week.
Try it: interactive demo
Pick a date; see its ISO and US week numbers.
Variations
US week number
Weeks start Sunday, week 1 has Jan 1:
US weeks starting Monday
Second argument sets the start day (2 = Monday):
Year + week key
For grouping across years:
Pitfalls & errors
ISO and US week numbers differ. ISO starts Monday with a first-Thursday rule; WEEKNUM defaults to Sunday with Jan 1 in week 1. Don’t mix them in one report.
Year boundaries are tricky. Jan 1 can be ISO week 52/53 of the prior year. Pair the week with the correct ISO year if you need a true key — the ISO year can differ from YEAR() at the edges.
ISOWEEKNUM needs Excel 2013+. In Excel 2010 use =WEEKNUM(A2, 21), which applies the ISO rule.
Practice workbook
Frequently asked questions
How do I get the week number of a date in Excel?
What's the difference between ISOWEEKNUM and WEEKNUM?
How do I group data by week?
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