Can I use a helper cell to house the year in these formulas?
I'm wondering if I can have a helper column/cell that houses the year instead of including 2023 in all of my formulas (we're talking over a thousand cells). I want to have a helper cell that has 2023 (or 1/1/2023 if it needs to be date format), so that when it comes time to update everything at year-end, I can just change that one cell to 2024 instead updating ALL of my formulas again.
These are a few of the formulas I'm using:
=COUNTIFS(Client:Client, "Client", [Report Date]:[Report Date], YEAR(@cell) = 2023)
=COUNTIFS(Client:Client, "Client", [Award Date]:[Award Date], IFERROR(YEAR(@cell), "") = 2023)
=SUMIFS(Amount:Amount, Client:Client, "Client", [Report Date]:[Report Date], YEAR(@cell) = 2023)
=SUMIFS(Amount:Amount, Client:Client, "Client", [Award Date]:[Award Date], IFERROR(YEAR(@cell), "") = 2023)
=SUMIFS(Amount:Amount, Team:Team, "Cx", [Report Date]:[Report Date], WEEKNUMBER(@cell) = 1, [Report Date]:[Report Date], YEAR(@cell) = 2023)
Any help is appreciated, thank you!
Best Answer
-
Hi Miranda,
The easiest way to do this would be to create the Year field in the sheet summary and replace the 2023 in your formulas to be the sheet summary field.
Regards
J Tech
If my response has helped you in any way or provided a solution to your problem, please consider supporting the community by marking it as Insightful, Vote Up, or Awesome. Additionally, you can mark it as the accepted answer, which will make it easier for others to find a solution or get help with a similar issue in the future. Your support is greatly appreciated!
Answers
-
Hi Miranda,
The easiest way to do this would be to create the Year field in the sheet summary and replace the 2023 in your formulas to be the sheet summary field.
Regards
J Tech
If my response has helped you in any way or provided a solution to your problem, please consider supporting the community by marking it as Insightful, Vote Up, or Awesome. Additionally, you can mark it as the accepted answer, which will make it easier for others to find a solution or get help with a similar issue in the future. Your support is greatly appreciated!
-
😲 Oh man, I wish I had asked this like a week ago! Thank you!!
Help Article Resources
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
Check out the Formula Handbook template!