Greetings again! I know Pivot Tables can calculate averages, sums, etc., but can they calculate weighted averages?
Below is a table with categories (Level1) and Sub-categories (Level2). Within each sub-category, I want the average (simple enough). For the category (Level1) I want the sub-category averages to be weighted equally.
[pre]
[/pre]
I've done this in a very round-about way, using several extra columns and larger formulas (see post below - thanks for the help!). Is there a simpler way?
http://chandoo.org/forums/topic/count-unique-values-within-a-dynamic-hierarchal-range
Below is a table with categories (Level1) and Sub-categories (Level2). Within each sub-category, I want the average (simple enough). For the category (Level1) I want the sub-category averages to be weighted equally.
[pre]
Code:
Level1 Level2 Score
Water Quantity 31
Water Quantity 23
Water Variance 28
Water Variance 52
Water Variance 82
Health Knowledge 43
Health Knowledge 23
Health Knowledge 63
Health Practice 37
Health Attitude 93
Env ... ...
...
I've done this in a very round-about way, using several extra columns and larger formulas (see post below - thanks for the help!). Is there a simpler way?
http://chandoo.org/forums/topic/count-unique-values-within-a-dynamic-hierarchal-range