Special Case: Pivot Tables Averages

actjfc

Active Member
Joined
Jun 28, 2003
Messages
412
Looks easy, but I could not do it.

For example, if I have a frequency distribution like:

Class - Frequency - Sum
A - 1 - 150
B - 2 - 200
A - 3 - 450
B - 4 - 400

The challenge: using Pivot Tables, how can I calculate the average of 'sum' by classes?

The answer should be:
Average A = 150
Average B = 100

Thanks!
 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

The Todal

Board Regular
Joined
Jan 2, 2007
Messages
129
Is there any reason this MUST be done within a Pivot Table? It should be a fairly simple calculation without using a Pivot Table.
 

actjfc

Active Member
Joined
Jun 28, 2003
Messages
412
I just use a single class, but this is a database of 45,000 rows and 20 columns and about 12 different classes in different criteria to get the average. Being one of them timing, it has a quarterly change. Of course that it is easy manually, but the volume and the repetition is cumbersome and time consuming.

So, are you up to the challenge?

Thanks for inquiring!
 

Watch MrExcel Video

Forum statistics

Threads
1,130,444
Messages
5,642,187
Members
417,259
Latest member
gtacw

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top