EXCEL WEEKNUM FUNCTION

The Excel Weeknum function provides an integer indicating the year’s week number (from 1 to 53) for a specified date.

Syntax :

Parameters :

  • serial number-The Excel date for which you wish to retrieve the week number.

  • [return type]
    -An optional input indicating the numbering system to use and which weekday should be considered the start of the week.

  • The two alternative numbering schemes are as follows:

    system 1 – The week containing January 1st is designated as week 1;

    system 2-Week 1 is the week comprising the first Thursday of the year.

    [return type] can have the following values:

    [return_type]Meaning
    1Week runs from Sunday to Saturday; Uses numbering system 1
    2Week runs from Monday to Sunday; Uses numbering system 1
    11Week runs from Monday to Sunday; Uses numbering system 1
    12Week runs from Tuesday to Monday; Uses numbering system 1
    13Week runs from Wednesday to Tuesday; Uses numbering system 1
    14Week runs from Thursday to Wednesday; Uses numbering system 1
    15Week runs from Friday to Thursday; Uses numbering system 1
    16Week runs from Saturday to Friday; Uses numbering system 1
    17Week runs from Sunday to Monday; Uses numbering system 1
    21Week runs from Monday to Sunday; Uses numbering system 2

Step By Step Guide of WEEKNUM Function

Example :

Weeknum Function

Related Functions

HLOOKUP Function

HLOOKUP Function

Explore Now

VLOOKUP Function

VLOOKUP Function

Explore Now

INDEX Function

INDEX Function

Explore Now

MATCH Function

MATCH Function

Explore Now

DATE Function

DATE Function

Explore Now

IF Function

IF Function

Explore Now

OR Function

OR Function

Explore Now

AND Function

AND Function

Explore Now

RANK Function

RANK Function

Explore Now

SUMIF Function

SUMIF Function

Explore Now

XIRR Function

XIRR Function

Explore Now

WORKDAYS Function

WORKDAYS Function

Explore Now