Pivot table column for the average of a number of columns

Hattie

New Member
Joined
Oct 7, 2020
Messages
11
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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.

GlennUK

Well-known Member
Joined
Jul 8, 2002
Messages
11,689
Put your calc to the left of the PivotTable instead of to the right.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,620
Messages
5,838,398
Members
430,546
Latest member
CometOz

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
Top