More Efficient Average

ERC

New Member
Joined
Mar 6, 2011
Messages
7
I thnk this should be easy but I did not find it in a quick look through the archives.

I have an example where I want to find the state average (mean) but the way the state reports the data makes it more complicated. It does not tell me the state average but it does tell me the number of kids at each school and the average score of each school. While I would love to just add up all the schools' scores and find the average, I know that would give me the wrong answer b/c there are different numbers of kids in each school. So I school with 200 kids and a score of 50 cannot be counted the same as a school with 2000 kids and 100. I know the average is not 75 but 95.5.

What I currently do is add up the total number of students in a school and multiply that by the average score. I then add up all of these numbers for all of the schools and divide by the number of total students. Is there a more efficient way to do this through a pivot or a better formula?
Thanks!
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,224,618
Messages
6,179,919
Members
452,949
Latest member
beartooth91

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
Back
Top