WEEKNUMBER formula not returning correct result
When I use the formula for WEEKNUMBER, my results are being offset by 1 week between Sunday and Monday.
Sunday, Sept. 12 = Week 36 (Correct)
Monday, Sept 13 = Week 37 (Incorrect)
I have checked my project settings, set my working days, etc., but I cannot figure out why this formula will not return the correct week number for Monday.
Can anyone give an advice? Thank you
Answers
-
I think Smartsheet calculates weeks Monday to Sunday. I would suggest using an If function to solve this
ex: =IF([Day of the Week]@row = "Sunday", WEEKNUMBER(Date@row) + 1, WEEKNUMBER(Date@row))
-
Your formula suggestion made me do some digging. Apparently, SS uses ISO Week Dates (link: https://en.wikipedia.org/wiki/ISO_week_date)
Seemingly, it is not an error, but a different way of tracking dates. I'll just need to adjust my timeline to accomodate.
Thanks for trying to help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!