Home › Functions › Date & Time › WEEKNUM
fx
WEEKNUM
Date & Time  ·  Since: Excel 2003  ·  9 languages

Returns the week number of a specific date. For example, the week containing January 1 is the first week of the year, and is numbered week 1.

🌐 Translations

English WEEKNUM
Deutsch KALENDERWOCHE
Français NO.SEMAINE
Español NUM.DE.SEMANA
Italiano NUM.SETTIMANA
Português NÚMSEMANA
Nederlands WEEKNUMMER
Polski NUM.TYG
Русский НОМНЕДЕЛИ

📦 Availability

Excel versionAvailable
Excel 2007 ✓
Excel 2013 ✓
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ Syntax

WEEKNUM(serial_number,[return_type])

Arguments

serial_number (required) — A date within the week. Dates should be entered by using the DATE function, or as results of other formulas or functions. For example, use DATE(2008,5,23) for the 23rd day of May, 2008. Problems can occur if dates are entered as text.
return_type (optional) — A number that determines on which day the week begins. The default is 1.

▶ Examples

=WEEKNUM(A2)
=WEEKNUM(A2,2)

Related functions

Copied to clipboard