Forum Discussion
Subtotals and Grand totals
- Aug 05, 2020
- Rawle MarsAug 06, 2020Copper Contributor
- PoogermumAug 05, 2020Brass Contributor
Hi Sergei
Reading your answer to expand my knowledge of excel. How come excludes subtotals when using the hidden cells value? Are all calculated values considered a 'hidden value'? Bit confused...
- SergeiBaklanAug 06, 2020Diamond Contributor
Sorry for the confusion. What to use, 9 or 109 depends on your scenario, both work the same way if you have no hidden rows - formula ignores any other SUBOTOTAL within sum range. Just in my practice I more often use 109 to ignore manually hided rows in sum. Again, if no such it doesn't matter which parameter to use.
Another trick, if no numbers in between the ranges which shall not be summed, and no need to work with hided rows, you may use simple SUM instead of SUBTOATL. If now you SUBTOATL range1, range2, range3 and after that SUBTOTAL on entire range to ignore intermediate ones, you may use SUM() on each of ranges and for the grand total SUM(entire range)/2.