In a pivot table, can I adjust the logic for calculating subtotal averages?

jjjason10

New Member
Joined
Apr 30, 2018
Messages
5
Good Afternoon All,

I've spent the last few hours searching for this issue with no luck, so I apologize if this has been posted already.

If I add a subtotal to a pivot table and make the subtotal calculate as "Average", I'm wondering if there is a way to adjust how excel calculates the average. Below is a snippet of sample data, similar to my pivot table. I have a few sales teams where I show each individuals total, then there is a roll up into the team total. I also have it set up so that I can see the team average. However my data set feeding the table has a line of data for each day of the sales cycle. As a reference, TEAM A has 383 lines of data in the date set. It appears that when I add in the subtotal Average, excel is calculating the average based on the number of lines of data in the data set and not the number of employees on the team. The numbers in Red font to the right of the table are my expected resultes (Taking the sum divided by 6). Is there anyway I can acheive this with in the table, and not use formulas in external columns.




Book1
ABCDEFG
3Row LabelsSum of LeadsSum of ContactedSum of Sale
4North1062.00678.00265.00
5TEAM A
6Employee 177.0058.0023.00
7Employee 296.0090.0035.00
8Employee 383.0073.0021.00
9Employee 4124.0073.0039.00
10Employee 596.0081.0021.00
11Employee 681.0051.0018.00
12TEAM A Sum557.00426.00157.00
13TEAM A Average1.451.110.41937126
14TEAM B
15Employee 1175.0079.0038.00
16Employee 293.0058.0032.00
17Employee 391.0048.0018.00
18Employee 487.0049.0019.00
19Employee 559.0017.001.00
20Employee 60.001.000.00
21TEAM B Sum505.00252.00108.00
22TEAM B Average1.840.920.39844218
23Grand Total1062.00678.00265.00
Sheet3
Cell Formulas
RangeFormula
E13=B12/6
E22=B21/6
F13=C12/6
F22=C21/6
G13=D12/6
G22=D21/6
 
in my post 9 reps did change teams, and the approach is dynamic in that as you add new rows of data the summary tables automatically update.....
 
Upvote 0

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

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