Especially when working with calendars and dates, you might want to use the numbers of weeks. In this article, we will take a look at the WEEKNUM formula and how to use it when you create timelines, schedules or calendars.
How to get the week number with the WEEKNUM formula
The WEEKNUM formula has 2 parts (the numbers are corresponding to the picture above):
The date you’d like to get the week number from.
The system: 1 refers to a system, in which the week containing the 1st of January is week number 1. 2 describes a system in which the week containing the first Thursday of the year is week 1. The second system is known as the European week numbering system.
The picture above shows a simple example: We want to display the number of the week in a schedule. Therefore, cell E5 has this formula:
=WEEKNUM(E4,1)
The cell E4 has as the first part of the WEEKNUM formula the date we want to get the number from. The second part determines the system, in this case the week starts on Sunday. The return value in this example (screenshot taken in 2015) is 23. So the 4th of June 2015 was in week 23.
Professor Excel is a fictional person with one passion: Microsoft Excel. He is devoted to pass on his vast experience and help all future generations to excel in Excel!
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
Yes, I want to be an Excel expert!
Subscribe to our popular Excel newsletter! You get all this:
Excel tips, tricks and tutorials. 1x per month. No spam. Promised.