|  

» Calculating the Week Number

To calculate a week number:

Use the WEEKNUM function.

The second argument in the WEEKNUM function, Return_type, determines on which day the week begins, for example, 1 for Sunday, 2 for Monday.

Note: This function is included in the Analysis ToolPak add-in. Users of Excel 97 and 2000: It is highly recommended that this Add-In be installed.

To install the Analysis ToolPak Add-In:
1. From the Tools menu, select Add-Ins.
2. Select the Analysis ToolPak checkbox, and then click OK.
Screenshot // Calculating the Week Number
Calculating the Week NumberCalculating the Week Number


Rate This Tip
12 34 5
Rating: 2.92     Views: 50450
What is "Return Type 2"?
Russ911
In this WEEKNUM function, your example shows the results if Return Type 1 is selected.

I selected Return Type 2 and got the same numbers except for the date "2/1/2004" where I got a "5."

I.e.,
Return Type 1: 1, 6, 10, 14, 18, 23
Return Type 2: 1, 5, 10, 14, 18, 23

So what is shown with Return Type 2?
Click here to post comment
For Registered Users
Name
Comment Title
Comments