Pivot Help - Included Filtered Rows in Totals

Marmot3292

New Member
Joined
Apr 5, 2019
Messages
20
Good Afternoon,

I am trying to edit the row subtotals and grand totals in a pivot table to include items that have been hidden by the filter. Here is my data:





The data table is top left, pivot top right (with filter applied to remove 0's from B) and bottom left is a snip of the pivot without filter applied.

You can see the grand total in the snip is 1.95 for A and 25 for B when no filters are applied. What i want to do is filter any rows in B that are zero, but still have 1.95 / 25 displayed as the grand total (as compared to 0.3 / 25) and the same for each subtotal. Can anyone point me in the right direction please ?

I have a secondary question also - is it possible to turn a total off for a particular column ? As a workaround for this I was considering using conditional formatting to create a formula that coloured the text white if a certain condition was met.

Many thanks in advance for your help
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,223,214
Messages
6,170,774
Members
452,353
Latest member
strainu

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