Is it possible to remove unwanted options from a pivot table splitter?

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,194
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone,

I always get this problem when i use pivot tables and cant work out how to stop it,

I create a splitter that works great but looks ugly because it includes options that are in the data but not required in the splitter,
is it possible to remove these with vba?

so heres what happend

raw data has a column called "sold As" and i use this as my splitter data

now in this Column i have different names like

"Tony"
"Bill"
"James"
"Sue"
"Joe"

but it also has data like "0" and "N/A"
so my splitter looks like this
"0"
"Tony"
"Bill"
"James"
"Sue"
"Joe"
"N/A"

ow what i woundering is is it possible to filter out the options "0" and "N/A" from the slicer?

any ideas as it just look messy and incorrect as it is

Thanks

Tony
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
Simply filter out the data in Excel before building the Pivot Table.
 
Upvote 0

Forum statistics

Threads
1,214,999
Messages
6,122,645
Members
449,093
Latest member
Ahmad123098

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