Slicer hide empty cells doesnt work

mail2maciek

New Member
Joined
Sep 29, 2022
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hello!

I would like to ask you for a help.

I have pivot table and pivot chart basing on excel table.
I have also created slicer with one dimension for which user can choose item to be presented.

The problem is:
The slicer list includes about 500 elements and only about 80 has any data.
I need to show on slice only those elements which has a data and not show empty elements.

The data in the source table is the result of the formula with if() and produce empty cell with "" on some conditions.
I noticed that the "" is replaced in pivot table to 0 and not to empty / blank cell and that couse slicer shows item even if it is theoretically empty.

I went through the numerous pages over the net, and found only one resolution to change formula to shows instead of "" - na() error and then
in pivot table's option change click box for error values show and box for empty cells show. That indeed changed 0 value in pivot table to empty
but still slicer presents this item in the box. That makes me think that slicer presents the item no matter if this is empty or na() or 0 if it finds anything in the cell.
As it finds formula then it present the item in the slicer.

I would like to ask you, for your help. How can I remove items which have 0 or na() or are empty in the base table.
As there is a vast majority of those the functionality of the slicer and pivot table is none. I can not remove the formulas.

thank you a lot.
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,224,823
Messages
6,181,176
Members
453,021
Latest member
Justyna P

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