slicer - how to return records that have all slicer options selected?

Dervos

New Member
Joined
Oct 23, 2018
Messages
17
Dear Experts,

I am wondering if there is a way to set up a Slicer to return records ONLY if they have ALL slicer options selected? For example - I don't want to see records that have slicer options 1 OR 2 OR 3 etc. but records that have slicer options 1 AND 2 AND 3 etc. ?

Case Scenario:

Using Slicer, I have selected:


  • Skillset - Coaching + Mentoring
  • Score - 4

Records returned are for Coaching, Mentoring and combination of both.



What I am seeking to get is below - a combination of Coaching + Mentoring with a Score of 4.



Is that even possible?

Appreciate your help!
D
yW2cdBK
 
I think just changing the If statement which decides whether a row should be hidden, so it ignores the 2nd slicer (the Score) values, because the autofiltering has taken care of that column, should give the desired result:
Code:
                If FoundSlicer1Count <> numSlicer1SelectedItems Then
With this change you could also delete all the code related to Slicer2.
 
Upvote 0

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK

Forum statistics

Threads
1,214,611
Messages
6,120,510
Members
448,967
Latest member
screechyboy79

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