Pivot table column for the average of a number of columns

Hattie

New Member
Joined
Oct 7, 2020
Messages
18
Office Version
  1. 365
Platform
  1. Windows
Pivot table column for the average of a number of columns in the PT

i have a pivot table

Col A - description
Col b to G - qty (number)
Col H - is the GRAND TOTAL

All I want to do is add a column after the GRAND TOTAL showing the average of the QTY columns.
in the first column after (outside) the pivot table.

If i just enter the formula =average(b20:g20) into the next cell I20
it works until i widen the date range and more columns are added to the pivot table.
the GRAND TOTAL is now in column K - as you would expect.
but then the averages column gets overwritten.

I have tried adding a calculated field with the average formula in it (it has the getpivotable data reference in it for the cells)
to just the last column of the pivot table.
but i get columns after all the data columns.

i have tried making a second count of the qty in the Sigma field and tried different settings in the value field settings.

but i just want one column at the end of the pivot table not lots of columns inside the table.

could someone point me in the right direction please

I'm sure its a simple thing once you know how.

thank you.
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Put your calc to the left of the PivotTable instead of to the right.
 
Upvote 0

Forum statistics

Threads
1,214,983
Messages
6,122,583
Members
449,089
Latest member
Motoracer88

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