Average count by pivot subtotal

jbfx

New Member
Joined
Nov 12, 2020
Messages
2
Office Version
  1. 2016
Platform
  1. Windows
Please see the attachments

I have a pivot table that counts the number of instances of each actor for each location and subtotals by location. I would also like to average the count of instances of each actor for each location. Summarizing by average does not work.

I think I may need a Power Pivot measure or calculated field.

Please help!


Source Data Below. Picture of Pivottable attached

1605201913788.png


LocationActor
1​
1234​
1​
1234​
1​
1235​
1​
1235​
1​
1235​
1​
1236​
2​
1237​
2​
1237​
2​
1238​
2​
1239​
2​
1239​
2​
1239​
2​
1239​
3​
1240​
3​
1241​
3​
1242​
3​
1242​
3​
1242​
3​
1243​
3​
1243​
3​
1245​
1​
1234​
1​
1234​
1​
1235​
1​
1235​
1​
1235​
1​
1236​
2​
1237​
2​
1237​
2​
1238​
2​
1239​
2​
1239​
2​
1239​
2​
1239​
3​
1240​
3​
1241​
3​
1242​
3​
1242​
3​
1242​
3​
1243​
3​
1243​
3​
1245​
 

Attachments

  • 1605201781810.png
    1605201781810.png
    17 KB · Views: 2

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Figured it out myself. I had to use a helper column and CountIFS to get me the correct count, then I removed duplicates, and used that data as the pivottable. Not elegant, but worked for my project.s
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

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