R
Ray Kanner
I have a pivot table based on the following data
Region Team Assets Return
North A 10 12
North B 20 4
North C 30 -5
South A 50 3
South C 25 5
South D 60 8
East A 4 9
East B 12 4
West A 100 6
West B 25 18
West C 3 4
West D 32 1
that looks like this
Average of Return
Region Total
East 6.50
North 3.67
South 5.33
West 7.25
Grand Total 5.75
However, instead of simple average, I would like to see a
weighted average, so for example, the weighted average of
East would be 4/(4+12)* 9 + 12/(4+12)* 4 or 5.50 instead
of the simple average of 6.50. Can I do this within a
pivot table, possibly using calculated fields or items?
Thanks in advance
Ray
Region Team Assets Return
North A 10 12
North B 20 4
North C 30 -5
South A 50 3
South C 25 5
South D 60 8
East A 4 9
East B 12 4
West A 100 6
West B 25 18
West C 3 4
West D 32 1
that looks like this
Average of Return
Region Total
East 6.50
North 3.67
South 5.33
West 7.25
Grand Total 5.75
However, instead of simple average, I would like to see a
weighted average, so for example, the weighted average of
East would be 4/(4+12)* 9 + 12/(4+12)* 4 or 5.50 instead
of the simple average of 6.50. Can I do this within a
pivot table, possibly using calculated fields or items?
Thanks in advance
Ray