SheetRocks
Documentation/Formulas/WEEKNUM

WEEKNUM

Returns the week number of a specific date

Syntax

WEEKNUM(serial_number, [return_type])

Arguments

Argument Description Required
serial_number A date within the week Required
return_type A number that determines on which day the week begins Optional

Examples

Get week number for date

=WEEKNUM(A1)
Result ⇒ 11
A
1 3/15/2024

Week number with Monday as first day

=WEEKNUM(A1, 2)
Result ⇒ 1
A
1 1/1/2024

Week number for year-end date

=WEEKNUM(A1)
Result ⇒ 53
A
1 12/31/2024

Related Functions

Other Date/Time functions:


← Back to Formula Reference