Date and time

WEEKNUM

Identify the week of the year using a specified numbering system.

Syntax

=WEEKNUM(serial_number, [return_type])

Worked example

Find the numbered week with Monday as the starting day and January 1 in week one.

=WEEKNUM(DATE(2026,1,1),2)

Result 1

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor