Week number comparison
=IF($[STUDY NUMBER]@row = "", "", IF($[STUDY NUMBER]@row = "EMPTY", "", IF(AND(WEEKNUMBER($ARRIVAL@row) <= [WK 39 SEP 26]$1, WEEKNUMBER($[END DATE]@row) >= [WK 39 SEP 26]$1), $[# FLOWERS]@row, IF(AND(YEAR($ARRIVAL@row) <= 2021, WEEKNUMBER($[END DATE]@row) >= [WK 39 SEP 26]$1), $[# FLOWERS]@row, IF(AND(WEEKNUMBER($ARRIVAL@row) <= [WK 39 SEP 26]$1, YEAR($[END DATE]@row) >= 2022), $[# FLOWERS]@row, IF(AND(YEAR($ARRIVAL@row) < 2022, YEAR($[END DATE]@row) >= 2022), $[# FLOWERS]@row))))))
[WK 39 SEP 26]$1 is just below the column header with a 39.
Arrival dates and end dates vary with different years and months etc.. I am looking for a formula that fits all scenerios, where if the dates fit within the weeknumber and is in year 2022 I want a return value.
Note the 7 in red should not give a return value.
Thanks
Best Answer

I did a cross check and the formula is correct.
Answers

I did a cross check and the formula is correct.
Help Article Resources
Categories
 All Categories
 14 Welcome to the Community
 Smartsheet Customer Resources
 62.2K Get Help
 360 Global Discussions
 199 Industry Talk
 427 Announcements
 4.4K Ideas & Feature Requests
 136 Brandfolder
 127 Just for fun
 128 Community Job Board
 444 Show & Tell
 28 Member Spotlight
 1 SmartStories
 283 Events
 35 Webinars
 7.3K Forum Archives
Check out the Formula Handbook template!