Excel WEEKNUM Function

In this article, we will learn about how to use WEEKNUM function in Excel.

WEEKNUM function checks the date of the year and returns it week number in the cell.
Syntax:

=WEEKNUM(Serial number, [Return Ttype])
Return Type Weekday Start Weekday End
1(default) Sunday Saturday
2 Monday Sunday
11 Monday Sunday
12 Tuesday Monday
13 Wednesday Tuesday
14 Thursday Wednesday
15 Friday Thursday
16 Saturday Friday
17 Sunday Saturday
21 Monday Sunday

248
Note: the WEEKNUM function will return a value even when the date is empty. Take care to trap this result if blank dates are possible.

Now Let’s understand how to use Weeknum function in Excel.

Here we have some dates to test the function.
249
Use the formula:

=WEEKNUM(A2)

250
This one was obvious as 1st January comes in the first week of the year.

Now copy the formula in the remaining cells using Shortcut key Ctrl + D.
251
The function returned the week number as required.

Hope you understood how to use WEEKNUM function in Excel. Explore more articles on Excel Date & Time function here. Please feel free to state your query or feedback for the above article.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Terms and Conditions of use

The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Visit Us On TwitterVisit Us On FacebookVisit Us On Google PlusVisit Us On Youtube