Week number of a date in a month
I have a column that has a list of dates. I tried the WEEKNUMBER function, and it returned a number reflecting the week of the year, 1-53, but I am looking for a formula that will return a number corresponding with the week the date falls in. For example, 10/11/2022 is in the third week of October, so it should return a value of 3. Thanks!
Best Answer
-
This is what you are looking for. Replace [Date]@row with the column that you want to point to.
=WEEKNUMBER([Date]@row) - WEEKNUMBER(DATE(YEAR([Date]@row), MONTH([Date]@row), 1)) + 1
Answers
-
This is what you are looking for. Replace [Date]@row with the column that you want to point to.
=WEEKNUMBER([Date]@row) - WEEKNUMBER(DATE(YEAR([Date]@row), MONTH([Date]@row), 1)) + 1
-
@Thomas Bostwick I appreciate your response, thank you!
-
Edit: My bad, nevermind. Thanks
Continuous Improvement Facilitator in HVAC industry || Timezone CES
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!