Week number formula
Hi
I want to search the week but also only 2022 weeks as my sheet also has 2021 and i don't wish to display those.
This is what i have today
=WEEKNUMBER([Project Actual Completion Date]@row)
Thanks for your help
Best Answer
-
Use an IF formula and use the YEAR function to specify the year:
=IF(YEAR([Project Actual Completion Date]@row) = 2022, WEEKNUMBER([Project Actual Completion Date]@row), "")
If the year in the Project Actual Completion Date field equals 2022, show me the week number for that date, otherwise leave the cell blank.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
Use an IF formula and use the YEAR function to specify the year:
=IF(YEAR([Project Actual Completion Date]@row) = 2022, WEEKNUMBER([Project Actual Completion Date]@row), "")
If the year in the Project Actual Completion Date field equals 2022, show me the week number for that date, otherwise leave the cell blank.
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Hi Jeff
😀
thank you for your help. it works perfectly.
have a great weekend
-
Happy to help!
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
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!