How to calculate unweighted averages in Excel PivotTable?

Posted by yonatron on Super User See other posts from Super User or by yonatron
Published on 2010-02-15T16:35:20Z Indexed on 2010/04/27 13:03 UTC
Read the original article Hit count: 310

Filed under:
|

I often make PivotTables in which each row contains a number of per-person average measures. I then want to look at the unweighted column average for each measure, and usually make some kind of chart from these.

Because my individual cells are often averaged from different numbers of data points, the Grand Total row ends up being a weighted average, which I’m not interested in. So I usually make my own average row a few rows above the table to use for my charts.

That’s not too much work, but there’s another problem. I often add a few more people’s worth of data to the PivotTables’ source, then refresh the tables. This means my average row needs to be updated to encompass more rows from the PivotTable. Not a huge deal with one table, but when I have lots of them across lots of sheets, I have to do find/replace on a whole bunch of formulas.

So: is there a way to automatically get unweighted column averages in a PivotTable, such that when the table is refreshed, the averages

  1. don’t change locations and
  2. encompass the newly added (or removed) data

Thanks

© Super User or respective owner

Related posts about excel

Related posts about pivot-table