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.
 

Some videos you may like

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.

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,128,129
Messages
5,628,869
Members
416,347
Latest member
AT2021

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