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
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!