WEEKNUM Function
Return the week number of a date in the year. serial_number is the date. return_type sets the day the week starts on: 1 for Sunday (the default), 2 for Monday, 11 to 17 for Monday through Sunday, and 21 for ISO 8601 week numbers, where week 1 is the week with the first Thursday of the year. With the other types, week 1 is the week that contains January 1. Any other return_type returns #NUM!.
Syntax
WEEKNUM(serial_number, return_type)
Category: Date & Time. Minimum arguments: 1. Maximum arguments: 2.
Available for supported offline calculation.
Examples
=WEEKNUM(DATE(2026,10,9))
The formula returns 41.
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.