Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Pivot Table 'Grand Total' question, average instead of sum

Hello,

I have a list of data with three columns, these are 'Period', 'Area' and
'Cost'.

I want to pivot to show the area's listed down vertically, the period
horizontally across and the 'Grand Total' inserted in the pivot table to give
an average of the periods instead of the sum. Is this possible?

Please advise, much appreciated.

Brian Taylor
Manchester, England.
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: Pivot Table 'Grand Total' question, average instead of sum

Hi Brian,

Yes, it is possible to show the average instead of the sum in the Grand Total of a Pivot Table. Here's how you can do it:
  1. Select the data range that you want to pivot and go to the 'Insert' tab in the Excel ribbon.
  2. Click on 'PivotTable' and choose where you want to place the Pivot Table.
  3. In the 'PivotTable Fields' pane, drag the 'Area' field to the 'Rows' area and the 'Period' field to the 'Columns' area.
  4. Drag the 'Cost' field to the 'Values' area. By default, it will show the sum of the costs.
  5. To change the calculation to average, click on the drop-down arrow next to the 'Cost' field in the 'Values' area and select 'Value Field Settings'.
  6. In the 'Value Field Settings' dialog box, select 'Average' instead of 'Sum' under the 'Summarize value field by' section.
  7. Click 'OK' to close the dialog box.
  8. Now, to show the average in the Grand Total, click on the drop-down arrow next to the 'Cost' field in the 'Values' area again and select 'Field Settings'.
  9. In the 'Field Settings' dialog box, select 'Average' instead of 'No Calculation' under the 'Custom' section.
  10. Click 'OK' to close the dialog box.

That's it! Your Pivot Table should now show the average of the costs for each period and the average of all periods in the Grand Total.
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 791
Default Pivot Table 'Grand Total' question, average instead of sum

if you right click the data in the pivot table and choose field settings you
can change the sum to average. Is this what you want?

"Co-op Bank" wrote:

Hello,

I have a list of data with three columns, these are 'Period', 'Area' and
'Cost'.

I want to pivot to show the area's listed down vertically, the period
horizontally across and the 'Grand Total' inserted in the pivot table to give
an average of the periods instead of the sum. Is this possible?

Please advise, much appreciated.

Brian Taylor
Manchester, England.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Pivot Table 'Grand Total' question, average instead of sum

No, I need the periods to be summed as normal but the end 'Grand Total'
column inserted by the pivot table to show as an average rather than a sum.

Regards

"Michael" wrote:

if you right click the data in the pivot table and choose field settings you
can change the sum to average. Is this what you want?

"Co-op Bank" wrote:

Hello,

I have a list of data with three columns, these are 'Period', 'Area' and
'Cost'.

I want to pivot to show the area's listed down vertically, the period
horizontally across and the 'Grand Total' inserted in the pivot table to give
an average of the periods instead of the sum. Is this possible?

Please advise, much appreciated.

Brian Taylor
Manchester, England.

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,886
Default Pivot Table 'Grand Total' question, average instead of sum

Hi Brian

No you can't do that. You can do what Michael says, but add the filed
twice, once as sum and once as average, but then you are going to have a
very messy table.

Right click on the PTTable Optionsuntick Grand Total by Rows.
Create a formula to the right of the PT
=AVERAGE(B4:N4) or whatever the range is
--
Regards

Roger Govier


"Co-op Bank" wrote in message
...
No, I need the periods to be summed as normal but the end 'Grand
Total'
column inserted by the pivot table to show as an average rather than a
sum.

Regards

"Michael" wrote:

if you right click the data in the pivot table and choose field
settings you
can change the sum to average. Is this what you want?

"Co-op Bank" wrote:

Hello,

I have a list of data with three columns, these are 'Period',
'Area' and
'Cost'.

I want to pivot to show the area's listed down vertically, the
period
horizontally across and the 'Grand Total' inserted in the pivot
table to give
an average of the periods instead of the sum. Is this possible?

Please advise, much appreciated.

Brian Taylor
Manchester, England.





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Pivot Table 'Grand Total' question, average instead of sum

Thanks thats what I expected, I was just hoping in vain there may be a hidden
dynamic solution

"Roger Govier" wrote:

Hi Brian

No you can't do that. You can do what Michael says, but add the filed
twice, once as sum and once as average, but then you are going to have a
very messy table.

Right click on the PTTable Optionsuntick Grand Total by Rows.
Create a formula to the right of the PT
=AVERAGE(B4:N4) or whatever the range is
--
Regards

Roger Govier


"Co-op Bank" wrote in message
...
No, I need the periods to be summed as normal but the end 'Grand
Total'
column inserted by the pivot table to show as an average rather than a
sum.

Regards

"Michael" wrote:

if you right click the data in the pivot table and choose field
settings you
can change the sum to average. Is this what you want?

"Co-op Bank" wrote:

Hello,

I have a list of data with three columns, these are 'Period',
'Area' and
'Cost'.

I want to pivot to show the area's listed down vertically, the
period
horizontally across and the 'Grand Total' inserted in the pivot
table to give
an average of the periods instead of the sum. Is this possible?

Please advise, much appreciated.

Brian Taylor
Manchester, England.




  #7   Report Post  
Junior Member
 
Posts: 1
Default

Quote:
Originally Posted by Co-op Bank View Post
Hello,

I have a list of data with three columns, these are 'Period', 'Area' and
'Cost'.

I want to pivot to show the area's listed down vertically, the period
horizontally across and the 'Grand Total' inserted in the pivot table to give
an average of the periods instead of the sum. Is this possible?

Please advise, much appreciated.

Brian Taylor
Manchester, England.
Hi Brian,

You can do it creating a calculated field in a Pivot Table created with Powerpivot.
You need to write the calculation in DAX.

However, the correct result depends on how you present the data on the Pivot Table.

Best,

Paolo
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivot Table Grand Total Stonewall Excel Discussion (Misc queries) 3 June 12th 07 12:25 AM
Grand Average in Pivot Table? mikelee101 Excel Discussion (Misc queries) 5 January 22nd 06 09:38 AM
Grand total in Pivot-Table TaiwanSwede Excel Worksheet Functions 0 January 10th 06 04:03 AM
Pivot Table -- Add column to average Grand Total Lynn Excel Worksheet Functions 1 August 30th 05 03:59 PM
Pivot Table Calculated Field (Grand total question) Linda Excel Discussion (Misc queries) 5 August 3rd 05 10:11 PM


All times are GMT +1. The time now is 09:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"