Extract rows from pivot table only if values in row are not all either 0 or blank

ExceL0ver

New Member
Joined
Apr 12, 2023
Messages
35
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
Hi all,

I have a bar chart of which data source is a pivot table. The pivot table contains names in the rows field, activities in the columns field and hours plotted against these. Names are currently in column A, and activities in columns C-T but the data is dynamic.

The pivot table has multiple 0 values which appear on the chart but are unwanted. As the chart updates automatically when the data is refreshed, the filter on the pivot table cannot be used to remove the 0 values because the filter would need to be removed first, and then have the data refreshed, each time the user needs the chart to update correctly with the new data.

Is there a way to extract the rows from the pivot table, but only if the values (in columns C-T) in the row are not either all 0s or blank values, that also automatically updates when the pivot table data is updated?

Thanks
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

Forum statistics

Threads
1,223,893
Messages
6,175,244
Members
452,622
Latest member
Laura_PinksBTHFT

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