WEEKNUM function helps to calculate the week number of the given date in a year. It considers 1st January as first week by default and through the output for the given input date.

##### Syntax:

`=Weeknum(serial_number,[return_type])`

### Video Tutorial – How to use WEEKNUM Excel Function?

This video covers:

###### HOW TO GET WEEK NUMBER OF THE MONTH FROM DATE IN EXCEL?

WEEKNUM function helps to calculate the week number of the given date in a year. It considers 1st January as first week by default and through the output for the given input date.

##### Syntax:

`=Weeknum(serial_number,[return_type])`

The WEEKNUM uses the following arguments: Serial_number (required argument) – This is an Excel date for which we want to return the week number. When entering the argument, we should enter the date using the DATE function or as a result of other formulas or functions.

### EXAMPLE 1 :- HOW TO GET WEEK NUMBER OF THE YEAR FROM DATE IN EXCEL?

To find the WEEKNUM of the year we use the formula =WEEKNUM(A2,1).

In the WEEKNUM formula select the first argument as date comma now select first day of week it depends every company has different first day of week here i am selecting sunday .

As shown in below image when you apply formula the result is 2 and when we copy formula in column the result is shown in 2nd image.  ### EXAMPLE 2 :-HOW TO GET WEEK NUMBER OF THE MONTH FROM DATE IN EXCEL?

To get week of the month  using the same WEEKNUM Formula.

Calculating the week of the year minus the week of the year of first of the same month.

FORMULA=WEEKNUM(A2,1)-WEEKNUM(DATE(YEAR(A2),MONTH(A2),1),1)+1  You can also practice this through our practice files. Click on the below link to download the practice file.

### Things to Remember

• By default, the start of the week in Excel is SUNDAY.
• We must supply the return type correctly if you want to start with a different week.
• If the date is not in the correct format, we may get #VALUE! Error.

### Secrets of Excel Data Visualization: Beginners to Advanced Course

Here is another best rated Excel Charts and Graph Course from ExcelSirJi. This courses also includes On Demand Videos, Practice Assignments, Q&A Support from our Experts.

This Course will enable you to become Excel Data Visualization Expert as it consists many charts preparation method which you will not find over the internet.

So Enroll now to become expert in Excel Data Visualization. Click here to Enroll.

### Excel VBA Course : Beginners to Advanced

We are offering Excel VBA Course for Beginners to Experts at discounted prices. The courses includes On Demand Videos, Practice Assignments, Q&A Support from our Experts. Also after successfully completion of the certification, will share the success with Certificate of Completion

This course is going to help you to excel your skills in Excel VBA with our real time case studies.