Does anyone know how to calculate the grand average in a pivot table?
Just as a pivot table gives the grand total, can a pivot table also
calculate the grand average?
Thanks.
RichardO.
---
Message posted from http://www.ExcelForum.com/
--
Regards,
Peo Sjoblom
"RichardO >" <<Richard...@excelforum-nospam.com> wrote in message
news:Richard...@excelforum-nospam.com...
I tried that already, but that gives the average of each item in the
data field. I was wondering if excel can calculate a grand average
just as it calculates a grand total. For example
Sum of items Qtr
1 2 3 4
Total Grand Total
ID 1 30 40 30 20 120
120
2 10 5 10 10 35
35
3 20 40 20 40 120
120
So, from the above, the Grand Average for ID 1 = 120/4 = 30, If I
choose Qtrs 2 & 3, the grand average= 70/2 = 35.
Whereas if I use the average function as you suggested, it averages the
ID items and then finds the Grand total. Say there are 6 ID 1 items,
then under Qtr 1, the pt would give 30/6=5, that's not what I am
looking for. Is there a way I could put a Grand average column.
Thanks.
Regards,
--
Regards,
Peo Sjoblom
"RichardO >" <<Richard...@excelforum-nospam.com> wrote in message
news:Richard...@excelforum-nospam.com...
Sum of Price
Qtr
ID 1 2 3 4 Ttl Grand Total
1 30 40 30 20 120 120
2 10 5 10 10 35 35
3 20 40 20 40 120 120
I just need Excel to calculate the Grand Average i.e. Grand Total/# of
Qtrs displayed. Is this possible in Excel at all? As you rightly
mentioned, ID 1 with 6 items will have an average of 30/6=5, whereas I
need the average of all the sum i.e. 120/# of Qtrs, in this case 4 i.e.
120/4=30 for ID1. If Qtr 3 &4 are selected, Grand Average should be:
(30+20)/4 = 12.5.
It seems easy, but I have not been able to find a way of doing it.