Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

pivot table and grand average

235 views
Skip to first unread message

RichardO <>

unread,
Feb 16, 2004, 8:10:28 PM2/16/04
to
Hi,

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/

Peo Sjoblom

unread,
Feb 16, 2004, 8:41:48 PM2/16/04
to
Yes, right click in the data field and select field settings, that will give
you options to choose
sum, count, average, max, min etc.. Or when you do the layout double click
the data button

--

Regards,

Peo Sjoblom

"RichardO >" <<Richard...@excelforum-nospam.com> wrote in message
news:Richard...@excelforum-nospam.com...

RichardO <>

unread,
Feb 16, 2004, 9:21:58 PM2/16/04
to
Hi,

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,

Peo Sjoblom

unread,
Feb 16, 2004, 10:01:21 PM2/16/04
to
The grand total you get with average is the average grand total.
To simplify, if you have numeric values in one column and
let's say you have IDs in another column, you put the numbers in data,
IDs in the row header
However it is hard to tell without knowing your source data..

--

Regards,

Peo Sjoblom

"RichardO >" <<Richard...@excelforum-nospam.com> wrote in message
news:Richard...@excelforum-nospam.com...

RichardO <>

unread,
Feb 16, 2004, 10:33:32 PM2/16/04
to
Thank you for your suggestion. I am repasting the table as it did not
come out well in the last post. Here is how my source data looks
like:


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.

0 new messages