M
MB51
My data table looks something like this:
Col A Col B Col C
Product Score Stops
X 98% 100
Y 97% 50
X 75% 150
Z 80% 25
X 99% 200
Totals:
X ?? 450 (using SUMIF for X)
Y ?? 50
Z ?? 25
I would like to get the weighted average by product (such as x) of column B
(score) based on column C (the weight of each row's score based on its % of
X's total stops).
The ?? in Totals should return the sum of
((98%*(100/450))+(75%*(150/450))+(99%*(200/450))) but I am looking for a more
versatile way to do this so when I add products/results in the future it will
include them in the weighted average.
Col A Col B Col C
Product Score Stops
X 98% 100
Y 97% 50
X 75% 150
Z 80% 25
X 99% 200
Totals:
X ?? 450 (using SUMIF for X)
Y ?? 50
Z ?? 25
I would like to get the weighted average by product (such as x) of column B
(score) based on column C (the weight of each row's score based on its % of
X's total stops).
The ?? in Totals should return the sum of
((98%*(100/450))+(75%*(150/450))+(99%*(200/450))) but I am looking for a more
versatile way to do this so when I add products/results in the future it will
include them in the weighted average.