Skip to content

ISOWEEKNUM

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()

Date and time

Excel 2013 and later.

Try it

Edit the formula in B2 or change the inputs. The sheet recalculates as you type.

B2
A
B
C
1
Date
ISO week
2
15-Mar-2025
11
3

B2 =ISOWEEKNUM(A2) returns 11

How ISOWEEKNUM works

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.

The ISO rules

  • Weeks run from Monday to Sunday.
  • Week 1 is the week that contains the first Thursday of the year. That is the same as the week that contains 4 January.
  • A year has 52 or 53 weeks. Years with 53 weeks are those that start on a Thursday, or leap years that start on a Wednesday. 2020 and 2026 have 53.
  • Days at the start of January can belong to the last week of the previous year, and days at the end of December can belong to week 1 of the next year.

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 or WEEKNUM

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.

The ISO year

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.

Common uses

  • Production and delivery schedules: supplier calendars quoted as "week 14".
  • Weekly reporting: a helper column of week numbers for SUMIFS or a pivot table.
  • Week commencing date: =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.

Arguments

date
The date to read: a cell holding a date, a date built with DATE, or text Excel can read as a date. Text that isn't a date returns #VALUE!.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

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
A
B
C
1
Date
ISO week
2
15-Mar-2025
11
3

B2 =ISOWEEKNUM(A2) returns 11

Example 2

New Year's Day can be week 53

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
A
B
C
1
Date
ISO week
2
01-Jan-2021
53
3

B2 =ISOWEEKNUM(A2) returns 53

Example 3

The last days of December can be week 1

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
A
B
C
1
Date
ISO week
2
30-Dec-2024
1
3

B2 =ISOWEEKNUM(A2) returns 1

Example 4

ISO year and week together

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
A
B
C
1
Date
ISO year-week
2
01-Jan-2021
2020-W53
3

B2 =YEAR(A2-WEEKDAY(A2,2)+4)&"-W"&TEXT(ISOWEEKNUM(A2),"00") returns 2020-W53

Your turn.

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.

B2
A
B
C
D
E
1
Date
ISO week
ISO week-year
2
01-Jan-2021
3
15-Mar-2025
4
30-Dec-2024
5

Common mistakes

  • ISOWEEKNUM needs Excel 2013 or later. In Excel 2010, use WEEKNUM(A2,21), and in older versions you need a longer formula.
  • The default WEEKNUM isn't ISO. Comparing ISOWEEKNUM and WEEKNUM columns shows differences of one week around the year ends, so don't mix them in one report.
  • A week number alone doesn't identify a week. 1 January 2021 is week 53 of 2020, not of 2021. Pair the week with the ISO year.
  • The calendar year isn't always the ISO year. YEAR(A2) is 2021 for 1 January 2021, but its ISO week-year is 2020.
  • Text that Excel can't read as a date returns #VALUE!.

Questions people ask

What is an ISO week number?

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.

What is the difference between ISOWEEKNUM and WEEKNUM?

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.

Which years have 53 ISO weeks?

Years that begin on a Thursday, and leap years that begin on a Wednesday. 2020 and 2026 are examples.

How do I get the date of the Monday of an ISO week?

Use `=A2-WEEKDAY(A2,2)+1`. It moves any date back to the Monday of its ISO week.

Learn ISOWEEKNUM in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.