![]() |
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. |
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:
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. |
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. |
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. |
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. |
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. |
Quote:
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 |
All times are GMT +1. The time now is 12:03 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com