Example 1
ISO week of a date
B2 =ISOWEEKNUM(A2)
Result: 11
15 March 2025 is a Saturday in ISO week 11, which runs from Monday 10 March to Sunday 16 March.
B2 =ISOWEEKNUM(A2) returns 11
Returns the ISO 8601 week number of a date, from 1 to 53. Weeks start on Monday, and week 1 is the week containing the first Thursday of the year.
Syntax
=ISOWEEKNUM()
Excel 2013 and later.
Try it
Edit the formula in B2 or change the inputs. The sheet recalculates as you type.
B2 =ISOWEEKNUM(A2) returns 11
ISOWEEKNUM returns the week number of a date under the ISO 8601 standard, the week numbering used in most of Europe and in much international business planning. =ISOWEEKNUM(DATE(2025,3,15)) returns 11. It takes one argument and has no options, which makes it simpler than WEEKNUM.
For example, 1 January 2021 was a Friday, so it belongs to week 53 of 2020, and =ISOWEEKNUM(DATE(2021,1,1)) returns 53. Monday 30 December 2024 belongs to week 1 of 2025.
ISOWEEKNUM(A2) returns the same result as WEEKNUM(A2,21). ISOWEEKNUM is clearer to read and has no return type to remember. The reason to prefer WEEKNUM(…,21) is compatibility: ISOWEEKNUM needs Excel 2013, and WEEKNUM's type 21 needs Excel 2010. The default WEEKNUM is not ISO: it counts the week containing 1 January as week 1, so the two can differ by a week or more around the year end.
Because a date can belong to a week in a different calendar year, a week number on its own is ambiguous. January 1 2021 is week 53, but of which year? The ISO week-year is the year of the Thursday in that week: =YEAR(A2-WEEKDAY(A2,2)+4). Pair it with the week number for a reliable key, such as =YEAR(A2-WEEKDAY(A2,2)+4)&"-W"&TEXT(ISOWEEKNUM(A2),"00"), which gives 2020-W53 for 1 January 2021.
=A2-WEEKDAY(A2,2)+1 gives the Monday of the week.ISOWEEKNUM ignores the time of day. If your colleagues use a system where weeks start on Sunday, check which week numbering they expect before you share a weekly report.
#VALUE!.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
B2 =ISOWEEKNUM(A2)
Result: 11
15 March 2025 is a Saturday in ISO week 11, which runs from Monday 10 March to Sunday 16 March.
B2 =ISOWEEKNUM(A2) returns 11
Example 2
B2 =ISOWEEKNUM(A2)
Result: 53
1 January 2021 was a Friday. The Thursday of its week, 31 December 2020, is in 2020, so the date belongs to week 53 of 2020.
B2 =ISOWEEKNUM(A2) returns 53
Example 3
B2 =ISOWEEKNUM(A2)
Result: 1
The Thursday of this week is 2 January 2025, so Monday 30 December 2024 belongs to week 1 of 2025.
B2 =ISOWEEKNUM(A2) returns 1
Example 4
B2 =YEAR(A2-WEEKDAY(A2,2)+4)&"-W"&TEXT(ISOWEEKNUM(A2),"00")
Result: 2020-W53
A2 minus its weekday number plus 4 lands on the Thursday of that week. YEAR of that Thursday is the ISO week-year, 2020.
B2 =YEAR(A2-WEEKDAY(A2,2)+4)&"-W"&TEXT(ISOWEEKNUM(A2),"00") returns 2020-W53
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In B2, return the ISO week number of the date in A2. Fill it down to B4.
Answer in B2, then it fills down to B4.
WEEKNUM(A2,21), and in older versions you need a longer formula.ISOWEEKNUM and WEEKNUM columns shows differences of one week around the year ends, so don't mix them in one report.YEAR(A2) is 2021 for 1 January 2021, but its ISO week-year is 2020.#VALUE!.It is the week number under ISO 8601: weeks start on Monday, and week 1 is the week with the year's first Thursday. Years have 52 or 53 weeks.
ISOWEEKNUM always uses ISO rules. WEEKNUM defaults to a system where week 1 contains 1 January and weeks start on Sunday. `WEEKNUM(A2,21)` is the same as ISOWEEKNUM.
Years that begin on a Thursday, and leap years that begin on a Wednesday. 2020 and 2026 are examples.
Use `=A2-WEEKDAY(A2,2)+1`. It moves any date back to the Monday of its ISO week.
Tracks take you from the basics to modelling, one graded exercise at a time.