Pivot Table Query/Confirmation

Arts

Well-known Member
Joined
Sep 28, 2007
Messages
770
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi all

I have a feeling the answer the is no but was wondering if the below was possible within a pivot table?

Would it be possible to get the average based on the number of entries based on a field.

So for "Project A" would I be able to attain the average of 46 as this has five entries under Employee and then average for Project B would be 43.5 as this has two employees assigned to it etc. I have tried various setting within the value field but to no avail so hoping I may have missed something in order to give me what I need.

Project NameEmployeeSumDesired Outcome
Project ASimon A
36​
36​
Simon B
62​
62​
Simon C
32​
32​
Simon D
55​
55​
Simon E
45​
45​
Project A Total
230​
46
Project BSally A
55​
55​
Sally B
32​
32​
Project B Total
87​
43.5
Project CTom A
42​
42​
Tom B
45​
45​
Tom C
56​
56​
Tom D
63​
63​
Project C Total
206​
51.5


Thanks as always!
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
It's well worth the time learning at least the basics of PQ - it's a real game changer and can save a lot of time.
 
Upvote 0
Here are some good links from @alansidman on how to set up and use PQ

How to use Power Query

Thanks Kerry

It's well worth the time learning at least the basics of PQ - it's a real game changer and can save a lot of time.

Agree Rory I was more coming of it from an angle that if you did provide something with PQ it was the amount of annoyance you may have got from me asking you many questions around it. But I'll look into the basics of it starting with what Kerry sent

Thanks both!
 
Last edited:
Upvote 0
For this example, the PQ would be fairly simple - just select all the non month columns, then choose Unpivot other columns.
 
Upvote 0
Works tasks pending today's lunch hour is potentially booked up with PQ tutorials, this could be a good one to start with if it's as easy as you mention. Ideally I will need a better solution then my formula fix as this will run into issues when the pivot table is updated with new data each month.
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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