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
- 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!