logo
excelfunctions.org
bookmarks

WEEKNUM

Converts a serial number to a number representing where the week falls numerically with a year.

Date & TimeDates & Time CalculationsMost Used

What it does

Returns the week number for a date (depends on the numbering system).

Syntax

WEEKNUM(serial_number, [return_type])

Arguments

  • serial_number(date) β€” Date to evaluate.

Examples

Week number

Return the week number for the date in A2.

FORMULA
=WEEKNUM(A2,2)
RESULT
(varies)
SAMPLE DATA
A
1Date
22026-01-05
32026-12-31