Pivot table column for the average of a number of columns

Hattie

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

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

GlennUK

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

Watch MrExcel Video

Forum statistics

Threads
1,130,037
Messages
5,639,678
Members
417,104
Latest member
Nelsini

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