Category: FUNCTION | Updated: 2026-11-22

How to Use the ISOWEEKNUM Function in Google Sheets | Get ISO Standard Week Numbers

How to Use the ISOWEEKNUM Function

The ISOWEEKNUM function returns the ISO week number (1–53) of a specified date according to the International Organization for Standardization (ISO 8601) standard. Because every week always consists of 7 days from Monday through Sunday, it is ideal for keeping period lengths consistent in year-over-year weekly data analysis.

Syntax

=ISOWEEKNUM(date)
  • date: The date for which you want to find the ISO week number (takes only one argument).

Practical Examples with a Table

Below are examples showing how Week 1 is handled depending on the day of the week at the start of the year, along with a calculation for November 2026.

A (Date) B (Formula) Result Explanation
2026/01/01 (Thu) =ISOWEEKNUM(A2) 1 Since it is a Thursday, the week containing Jan 1 is Week 1 of 2026
2027/01/01 (Fri) =ISOWEEKNUM(A3) 53 Since it is a Friday, it is treated as the final week (Week 53) of 2026
2027/01/04 (Mon) =ISOWEEKNUM(A4) 1 Week 1 starts on the Monday of the week containing the first Thursday of 2027
2026/11/22 (Sun) =ISOWEEKNUM(A5) 47 November 22, 2026 is ISO Week 47

Common Errors and Precautions

  • Watch out for year mismatches: For example, 2027/01/01 has an ISO week number of 53, which actually means “Week 53 of 2026.” When displaying “Year-Week” on a dashboard, simply using =YEAR(A2)&"-W"&ISOWEEKNUM(A2) would incorrectly produce 2027-W53, so be careful.
  • #VALUE! error: Occurs if the argument is a text string that cannot be recognized as a date or an invalid value.
  • Behavior with blank cells: Referencing a blank cell returns 52, which is the ISO week number for serial value 0 (1899/12/30). Combine it with the IF function to handle blank cells.

Frequently Asked Questions

Q. Why does ISOWEEKNUM return '52' or '53' for January 1?

A. Under the ISO 8601 standard, weeks start on Monday, and Week 1 is defined as the week containing the first Thursday of the year (the week containing January 4). If January 1 falls on a Friday, Saturday, or Sunday, that week is treated as the final week (Week 52 or Week 53) of the previous year.

Q. Can I change the start of the week to Sunday in ISOWEEKNUM?

A. No, ISOWEEKNUM follows the ISO standard and is fixed to a Monday start, taking only a date as its argument. If you want weeks starting on Sunday, use the WEEKNUM function instead.