Date & time function

ISOWEEKNUM function

Returns the ISO 8601 week number (1–53) of a date, where weeks start on Monday and week 1 contains the year's first Thursday.

Available in Excel 2013 and later, Excel for the web

Excel 2013 and laterWorks in Google Sheets

Syntax

ISOWEEKNUM(date)
ArgumentWhat it means
dateRequiredThe date whose ISO week you want.

Returns: A whole number from 1 to 53.

How ISOWEEKNUM works

Across Europe and in most international businesses, weeks are numbered with the ISO 8601 standard: weeks run Monday to Sunday, and week 1 is the week that contains the first Thursday of the year (equivalently, the week containing 4 January). ISOWEEKNUM returns that number, which is what planning calendars, production schedules and many ERP systems print as "KW" or "Week".

The ISO rule means the first days of January can belong to week 52 or 53 of the previous year, and the last days of December can be week 1 of the next year. The older WEEKNUM function, by default, always starts week 1 on 1 January, so the two can disagree at year boundaries. ISOWEEKNUM is the same as WEEKNUM(date, 21).

Examples

1Planning week for a delivery

B2fx=ISOWEEKNUM(A2)
AB
1Delivery dateISO week
22026-12-0249

Result: 49

Wednesday 2 December 2026 falls in ISO week 49.

2New Year's Day can belong to last year's week

B2fx=ISOWEEKNUM(A2)
ABC
1DateISO weekWEEKNUM
22027-01-0153

Result: 53

1 January 2027 is a Friday. ISO week 1 of 2027 starts on Monday 4 January, so this Friday is still in week 53 of 2026. =WEEKNUM(A2) in C2 would return 1, which is why the two functions can disagree.

3Label for a weekly report

B2fx="W"&TEXT(ISOWEEKNUM(A2),"00")
AB
1DateWeek label
22026-01-01W01

Result: W01

1 January 2026 is a Thursday, so it is in ISO week 1. TEXT pads the number to two digits for neat sorting.

⬇Practice workbookExamples with live formulas + practice sheets · .xlsx · 15 KB

Common errors and how to fix them

ErrorWhy it happensFix
#VALUE!The date is text that cannot be read as a date.Convert with DATEVALUE.
#NUM!The date is outside Excel's date range.Check the source value.

Tips

  • When you build a 'year-week' key, the year must be the ISO year too: =YEAR(A2-WEEKDAY(A2,2)+4) returns the year that owns the week.
  • Use ISOWEEKNUM for anything shared with European colleagues; use WEEKNUM with return_type 1 for US-style Sunday weeks.

Google Sheets

ISOWEEKNUM also exists in Google Sheets and works the same way for everyday use, so the examples above work there too.

ISOWEEKNUM in other languages

In a non-English version of Excel the function has a local name. Excel translates formulas automatically when a file is opened in another language.

LanguageFunction name
DanishISOUGE.NR
DutchISO.WEEKNUMMER
FinnishVIIKKO.ISO.NRO
FrenchNO.SEMAINE.ISO
GermanISOKALENDERWOCHE
HungarianISO.HÉT.SZÁMA
ItalianNUM.SETTIMANA.ISO
Norwegian (Bokmål)ISOUKENR
PolishISO.NUM.TYG
Portuguese (Brazil)NÚMSEMANAISO
Portuguese (Portugal)NUMSEMANAISO
RussianНОМНЕДЕЛИ.ISO
SpanishISO.NUM.DE.SEMANA
SwedishISOVECKONR
TurkishISOHAFTASAY