Calculating an ISO-8601 based WEEKNUM
From [Wayback/Archive] ISOWEEKNUM Function – How to Get the Week Number in Excel:
- If we are using an older version of MS Excel, we can use the function
WEEKNUM. By default, theWEEKNUMfunction uses an arrangement where Week1begins onJanuary 1, and Week2begins on the nextSunday(when thereturn_typeargument is omitted, or supplied as1).However, with MS Excel 2010 for Windows and MS Excel 2011 for Mac, we can generate an ISO week number using21as thereturn_type:=WEEKNUM(date,21).- There is no built-in worksheet function for ISO weeks before MS Excel 2010.
I tested that ISO-8601 week number calculation in with Excel 2011 on MacOS and Excel 2010 on Windows: the workaround works well for the dates mentioned in ISO week date – Wikipedia.





