SUM columns based on a dynamic value
Hello, I'm trying to build a formula that will SUM a dynamic range of columns based on a value. The application is for capacity planning (hours per week) and the sheet has a column for every week of the year (see image). I want to SUM the remaining hours as each week passes. I know the week number where I want the range to start the SUM from, but can't figure out the formula. Any advice is greatly appreciated.
Answers
-
Need more information, what value are you basing it on? Have you looked at the SUMIF formula? It does what you are describing (I think).
-
Hi Adam, thanks for the reply. I have another column that has the week number to start the SUM range from (this is the value that changes), with the SUM range ending with the week 52 column. Here is a run through:
- This runs approximately once a week
- There is another column (not in the image) that has the week# (column) to start the SMU range from.
- The SUM I am trying to perform would start with that week# (column) and include all remaining weeks.
Let me know if this addresses your question. Thanks again for the support!
-
Hello,
Does anyone have any feedback on this challenge? Appreciate any guidance you may have. Thanks.
-
-
Hi Paul, thanks for jumping in. The answer to your question is no. The sheet in question is a capacity plan (planned hours per week) and we don't want to zero (null) them after that week has passed. What we're trying to calculate is the total "future" hours remaining in the plan from a specific week forward. So, in week 7, I want to know the total hours in the capacity plan from weeks 8 to 52. Hope this helps. Thanks.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!