Dynamically choose what column to sum if in another sheet
I am trying to build out a scheduling tool for my team. On one sheet (source), they can add all the jobs/staffing/hours. The other sheet (total) I want to sum total hours by week for each team member. I could create a Sum Collect and do a separate range for each week. However, I have the week # on both sheet, so am hoping there is a more efficient way to look up what column to sum if in. I have attached a snip of both sheets for reference.
This is the formula I currently have but I really don't want to make 52 different ranges/formulas ("{Import Template - ProStaff Range 1}" is the range I'd like to replace w/some sort of index match or dynamic look up function):
=SUM(COLLECT({Import Template - ProStaff Range 1}, {Import Template - ProStaff Staff}, $[Staff Name]@row)).
Answers
-
Depending on what plan you have you might have a tool that can solve this for you:
https://www.smartsheet.com/content-center/product-insights/product-updates/new-workload-trackingHopefully that is the easy fix!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!