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.
=Weeknum(serial_number,[return_type])
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.
=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.
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.
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
Create Dynamic Data Validation List When I started my career in working with excel dashboards, I always used to face most common challenge in “Data Validation” technique where I want a smart data validation to avoid all…
Excel Function DATE When you work with dates in Excel, the DATE function is crucial to understand. The reason is that some other Excel functions may not always recognize dates when they are entered as…
AVERAGEIFS function is used to get the “average” of values for matching criteria across range. Average = Sum of all values / number of items.
This quick tutorial explains the basics of external references in Excel and shows how to reference another sheet or workbook in your formulas.
Have you ever got into situation in office where you need to count the cells in Excel sheet with specific color? If yes then you can use following code which counts the number of cells…
How to Create a Pivot Table? Pivot Tables in excel is backbone of data analysis in excel. If you want to perform various analysis in excel, then I would suggest, learn this amazing excel feature…