Fiscal Year Week Number
Hi Everyone, I know this topic has been covered but I can't seem to figure it out. I am trying to calculate the week number if my FY starts on April 1, 2022. CY year is no issue, I used =weeknumber(today(-1). Thanks for your help.
Best Answers
-
Your organization's FY starts 13 weeks after the start of the CY. So, for your organization, the fiscal week is CY_Week - 13 , or...
WEEKNUMBER([Test Date]@row) - 13
.However, that becomes problematic for January through the end of March when...
WEEKNUMBER(some_date_in_January_or_March)-13
...results in a negative value or 0. You'll need to add 52 to resolve this. That is to say, whenWEEKNUMBER(some_date_in_January_or_March)-13
isless than or equal to 0
, add 52 ...IF( (WEEKNUMBER([Test Date]@row)-13) <= 0 , WEEKNUMBER([Test Date]@row) - 13 + 52 , WEEKNUMBER([Test Date]@row) - 13 )
which simplifies to...IF( (WEEKNUMBER([Test Date]@row)-13) <= 0 , WEEKNUMBER([Test Date]@row)+39 , WEEKNUMBER([Test Date]@row)-13 )
If "Test Date" is Today(), then your formula will be...
IF(
(WEEKNUMBER( Today() )-13) <= 0 , WEEKNUMBER( Today() )+39 , WEEKNUMBER( Today() )-13 ) -
This is very helpful. Thank you!
Answers
-
Your organization's FY starts 13 weeks after the start of the CY. So, for your organization, the fiscal week is CY_Week - 13 , or...
WEEKNUMBER([Test Date]@row) - 13
.However, that becomes problematic for January through the end of March when...
WEEKNUMBER(some_date_in_January_or_March)-13
...results in a negative value or 0. You'll need to add 52 to resolve this. That is to say, whenWEEKNUMBER(some_date_in_January_or_March)-13
isless than or equal to 0
, add 52 ...IF( (WEEKNUMBER([Test Date]@row)-13) <= 0 , WEEKNUMBER([Test Date]@row) - 13 + 52 , WEEKNUMBER([Test Date]@row) - 13 )
which simplifies to...IF( (WEEKNUMBER([Test Date]@row)-13) <= 0 , WEEKNUMBER([Test Date]@row)+39 , WEEKNUMBER([Test Date]@row)-13 )
If "Test Date" is Today(), then your formula will be...
IF(
(WEEKNUMBER( Today() )-13) <= 0 , WEEKNUMBER( Today() )+39 , WEEKNUMBER( Today() )-13 ) -
This is very helpful. Thank you!
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!