Professional Documents
Culture Documents
Creating Slicers
Creating Slicers
Creating Slicers
Not cake, sorry. I’m talking about Excel Slicers and while they are
'sweeeet', as my 8 year old says, and a piece of cake to use, they
aren't quite as tasty.
Now I know you can already filter using the PivotTable or Excel Table
filter tools but Slicers are better for 2 reasons:
I've put an interactive workbook (image below) on the blog post, click
here to take a look and try out Slicers yourself.
Warning: don’t go silly and choose too many areas though, or the
PivotChart might implode….. what am I thinking? That’s like a red rag
to a bull, of course you’re going to try it now that I mention it but at
least I warned you!
Did you have a go? They're pretty cool, eh? I'm sure you're now itching
to get started with your own Slicers, so here's how:
Inserting Slicers
To insert a Slicer first select a cell in the Table or PivotTable that you
want the Slicer to control > then on the Insert tab of the ribbon > in the
Filters group you’ll find the Slicer icon.
Tip: In Excel 2013 you can also right-click on the Field in the
PivotTable Field List and choose ‘Add as Slicer’:
Note: A Slicer can only control PivotTables which share the same Pivot
Cache. Typically PivotTables which reference the same data source
share a Pivot Cache, but not always. If the PivotTables you want to
connect to don't appear in the list then you'll know the cause is
separate Pivot Caches
Using Slicers
Slicers are intuitive to use and they allow us to easily filter one or
multiple items:
Formatting Slicers
One of the gripes I had with Slicers in the early days was that they
were a bit chunky. Since then I’ve found some of the formatting tricks
hidden deep down in the menus that allow you to make them a more
manageable size.
I’ll take you through the obvious ones first and then I’ll show you the
secret ones ;-)
Slicer Settings
Select the outer edge of the Slicer to reveal the Slicer Tools; Options
menu. Here we can access the Slicer Settings (Tip: you can also right-
click the Slicer to access the Settings):
1. Change the Slicer name
2. Turn the Slicer header off/on, or give it a different caption
3. Choose how to sort the Slicer
4. Choose how the Slicer should handle items with no data. Note: in
Excel 2010 you don't have the option to 'Hide items with no data'.
Slicer Styles
In the Slicer Styles group we can choose the colour and style, or
create a new style (note: the colour options will be based on the
Theme/Colors you have selected for the workbook in the Page Layout
tab of the ribbon, mine is ‘Paper’):
Arrange Slicers
The Arrange group of tools allow you to quickly align your Slicers or
move them behind or in front of other objects like charts, shapes,
images etc.:
The last groups are Buttons and Size; here you can change the number
of columns, button height and width and the overall size of the slicer
(Tip: you can also use the pull handles which are available when you
click the outer edge of the Slicer to change its overall size):
I generally find anything smaller than 0.5cm for the button height is as
small as you can go.
If the overall height of your Slicer is too small to display all of the
values a scroll bar will be inserted:
Now, while all of the above formatting options are great, they still only
allow you to make your Slicer a bit smaller and it’s usually not enough,
especially in dashboard reports where spreadsheet Real Estate is at a
premium. That’s where the ‘Secret’ formatting options are essential….
Ok, they’re not really secret but they’re not obvious either.
You can even check the ‘Set as default slicer style for this document’
box and use it over and over again, but wait right there because I have
a quicker way.
Here you can give it a new name, then from the Slicer Elements list
select ‘Whole Slicer’ and click on Format > in the ‘Font’ tab change the
font size; I like 9, but it will depend on the font you choose:
Then go to the Border tab and remove the border:
Note: While removing the border serves to make the Slicer appear
smaller it is actually still the same size. However, now you can
squeeze it into a smaller space by placing the edges of the Slicer
underneath other objects, like charts, without it being noticable.
After duplicating your Slicer style you then need to apply it to your
Slicers. If you have multiple Slicers you can select them all (hold down
SHIFT while you select each one), then click on your style in the Slicer
Styles gallery.
Ok, now that your Slicer is more compact you’ll be able to squeeze it
into your report.