
Returns the ISO 8601 week number for a date, using Monday-based weeks and the ISO week 1 rule.
The Excel ISOWEEKNUM function returns the ISO 8601 week number for a date. It always uses Monday as the first day of the week and follows the ISO rule that week 1 is the week containing the year's first Thursday.
This matters most in reporting, planning, and dashboards where week numbers must stay consistent across teams and countries. Because ISO weeks can cross calendar-year boundaries, a date near January 1 may belong to the last ISO week of the previous year.
Converts a date into an ISO week number from 1 to 53 using the ISO 8601 system.
Returns the week number for the supplied date. Invalid inputs can return #NUM! or #VALUE!.
=ISOWEEKNUM(date)
ISOWEEKNUM has one required argument: date. You can pass a cell reference, a date serial number, or a formula that returns a valid Excel date. For reliable results, use real Excel dates or DATE(...) instead of ambiguous text dates when possible.
Both functions return week numbers, but they do not always follow the same rules.
| Function | Week Start | Week 1 Rule | Use When |
|---|---|---|---|
ISOWEEKNUM(date) |
Monday | Week containing the first Thursday | You need ISO 8601 week numbers |
WEEKNUM(date) |
Usually Sunday by default | Week containing January 1 | You need the standard non-ISO week system |
WEEKNUM(date, 21) |
Monday | Week containing the first Thursday | You want ISO behavior through WEEKNUM |
If your workbook is supposed to follow ISO 8601, ISOWEEKNUM is usually the clearest choice. Microsoft also documents that WEEKNUM(...,21) uses the same ISO-based system.
Think of ISOWEEKNUM as a week-labeling function. Give it a date and it tells you which ISO week that date belongs to. The important detail is that ISO weeks are not tied directly to January 1. Instead, ISO week 1 is defined by the first Thursday of the year, which keeps every ISO week aligned to a full Monday-to-Sunday structure.
That rule is why dates near New Year can look surprising at first. For example, January 1, 2023 falls in ISO week 52, not week 1, because it still belongs to the last ISO week of 2022. If you build year-week labels, this also means YEAR(date) is not always the true ISO year near the boundary.
For a true ISO year-week label, use a formula like this:
=YEAR(A1-WEEKDAY(A1,2)+4)&"-W"&TEXT(ISOWEEKNUM(A1),"00")
Shifting to the Thursday of the same ISO week makes the year part line up with the ISO calendar, not just the regular calendar year.
Use ISOWEEKNUM to return the ISO week number for a standard date. This is the most direct use case: you already have a valid date and simply want the ISO week bucket it belongs to.
=ISOWEEKNUM("2026-04-15") // Returns 16
Because April 15, 2026 falls well inside the year, there is no year-boundary complication here. That makes this a clean example of the function's normal behavior.
In cell F1, return the ISO week number for today with =ISOWEEKNUM(TODAY()).
Dates near January 1 can belong to the previous ISO year. This is where ISO week numbering often differs from what users expect at first glance.
=ISOWEEKNUM("2023-01-01") // Returns 52
January 1, 2023 is a Sunday, so it still falls in the last ISO week of 2022. If you group records by ISO week, this date should stay with the final reporting week of that ISO year rather than being treated as week 1.
In cell F2, find the ISO week for Jan 1, 2023. Expected result: 52.
When January begins in the same Monday-to-Thursday block as the first Thursday, the date belongs to week 1. This example shows the opposite of the previous case.
=ISOWEEKNUM("2024-01-01") // Returns 1
Since January 1, 2024 is a Monday, the week containing it also contains the year's first Thursday. That is why Excel correctly labels it as ISO week 1.
In cell F3, find the ISO week for Jan 1, 2024. Expected result: 1.
If you need labels like 2026-W16, calculate the ISO year first instead of using plain YEAR(date). This avoids incorrect labels for dates that sit at the start or end of a calendar year.
=YEAR(A1-WEEKDAY(A1,2)+4)&"-W"&TEXT(ISOWEEKNUM(A1),"00")
This pattern is useful when you want a single text label for charts, pivot tables, exports, or weekly summaries. It keeps the year and week aligned to the same ISO calendar system.
In cell F4, build a true ISO year-week label from A1. A1 already contains 2023-01-05, so the result should be "2023-W01".
ISOWEEKNUM returns the ISO 8601 week number for a date.WEEKNUM(date,21) follows the same ISO-based system.Tell your friends about this post