=WEEKNUMBER Formula
Comments
-
Weird - Do you have an example date where this is happening?
From the notes:
- Smartsheet calculates week numbers based on Mondays. Due to this, the first day of the year may not be in the first week of the year. For example, if January 1st is a Monday, WEEKNUMBER returns 1, however if it’s a Friday, WEEKNUMBER returns 52.
-
Hi,
I am actually coming across the same issue and need the weeknumber to calculate Sunday to Saturday. Is there any way that the formula can be adjusted for this?
Thank you,
Crystal
-
Here is what I came up with, if this is still relevant to you.
=IF(WEEKDAY([Work Day]@row) = 1, WEEKNUMBER([Work Day]@row) + 1, WEEKNUMBER([Work Day]@row))
where Work Day is when the employe worked. So I tricked the system in adding 1 to the weeknumber when the day number is 1 (so this Sunday end up next week) making it a week from Sat to Sun.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives