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.
|Return Type||Weekday Start||Weekday End|
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.
Use the formula:
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.
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.
Zero paddings to the week numbers in Excel
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.