Adamzurick
New Member
- Joined
- Jun 26, 2008
- Messages
- 20
Hi there,
I have a model that is identical across 30 sheets. Each sheet rolls up to 1 of 3 different buckets. Using a mapping table of each tab name and the bucket it relates to, I'd like to summarize the 3 buckets into 3 separate tabs (identical to the model that's being used in the 30 sheets) that sums the cells of its child's sheets.
What formula would be the best to accomplish this? I imagine its some sort of INDIRECT but the one problem i'm forseeing is that if I add or remove tabs later (to both the workbook and mapping) the formulas i've come across aren't dynamic enough to address this type of change.
Below is the best i've come across so far. Is there anything i'm missing that might be better? Thanks ahead of time for your help!!!
SUMPRODUCT(SUMIF(INDIRECT("'"&sheets&"'!"&"rng"),criteria,INDIRECT("'"&sheets&"'!"&"sumrng")))
I have a model that is identical across 30 sheets. Each sheet rolls up to 1 of 3 different buckets. Using a mapping table of each tab name and the bucket it relates to, I'd like to summarize the 3 buckets into 3 separate tabs (identical to the model that's being used in the 30 sheets) that sums the cells of its child's sheets.
What formula would be the best to accomplish this? I imagine its some sort of INDIRECT but the one problem i'm forseeing is that if I add or remove tabs later (to both the workbook and mapping) the formulas i've come across aren't dynamic enough to address this type of change.
Below is the best i've come across so far. Is there anything i'm missing that might be better? Thanks ahead of time for your help!!!
SUMPRODUCT(SUMIF(INDIRECT("'"&sheets&"'!"&"rng"),criteria,INDIRECT("'"&sheets&"'!"&"sumrng")))