Excel WEEKNUM Function

This Excel Tutorial demonstrates how to use the Excel WEEKNUM Function in Excel to get the week number in a year (1-52), with formula examples.

WEEKNUM Function Description:

The WEEKNUM Function Returns the week number in a year (1-52).

Formula Examples:

weeknum function examples

Example Formula Result
Any Date =WEEKNUM(C5,D5) 51
Week starts on Monday. =WEEKNUM(C6,D6) 50

Syntax and Arguments:

The Syntax for the WEEKNUM Formula is:

Function Arguments ( Inputs ):

serial_number – The date in Excel serial number format or entered as a date with quotations (“s) surround the date. Example: You can not enter 11/12/2015 directly into the cell. Instead you need to enter “11/12/2015” or you would need to use the corresponding serial number: 42320. Alternatively, you can reference a cell with the date 11/12/2015 entered. Excel automatically converts dates stored in cells into serial format (unless the date is entered as text).

return_type – OPTIONAL. A number indicating which day is the start of the week. 1 (Default) for Sunday, 2 for Monday.

Additional Notes

Simply enter a date. By default, the first day of the week is considered Sunday. Enter 2 to change the start date to Monday, 3 for Tuesday, etc..

Return to the List of all Functions in Excel

How to use the WEEKNUM Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
weeknum formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=WEEKNUM(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the weeknum function in excel

For more information about the WEEKNUM Formula visit the
Microsoft Website.

Posted in