Imagine that you manage a supermarket with branches in Ibadan, Lagos and Abuja.
Your Excel PivotTable contains sales information for all three branches. You want to check the sales made by each branch without opening the filter menu every time.
Wouldn't it be easier if you could simply click a button labelled Ibadan, Lagos or Abuja?
That is exactly what a PivotTable Slicer helps you do.
Excel also has another useful tool called a Timeline. It allows you to filter PivotTable information using dates, months, quarters and years.
In this module, you will learn how to create and use Slicers and Timelines to make your PivotTable reports interactive.
A Slicer is an interactive filtering tool in Excel. It displays buttons that allow you to filter information in a PivotTable.
Instead of opening a drop-down filter menu, you simply click the button representing the information you want to see.
For example, a supermarket sales report may contain these branches:
You can create a Slicer with three buttons. Clicking Ibadan will display the sales information for Ibadan only.
Slicers make reports easier to use, especially when several people need to study the same information.
Some benefits include:
Let's create a Slicer for the Branch field in your supermarket sales PivotTable.
Excel will create a Slicer containing the available branch names.
You can now click Ibadan, Lagos or Abuja to filter your PivotTable.
After creating a Slicer, you can use it to control the information displayed in your PivotTable.
Follow these steps:
You can also select more than one item.
For example, you may want to compare Ibadan and Lagos. Hold Ctrl while selecting the two buttons, where supported by your Excel version.
Some Slicers also have a Multi-Select button that allows you to select several items.
What if you want to display all branches again?
You do not need to delete the Slicer.
Follow these steps:
You can change the appearance of a Slicer to make your report more attractive and organised.
For example, you can:
For example, a Slicer with six products can display its buttons in two columns instead of one.
You do not have to create only one Slicer for a PivotTable.
You can create several Slicers to filter different fields.
For example, a supermarket report may use:
| Slicer | Purpose |
|---|---|
| Branch | Filters sales by branch. |
| Product | Filters sales by product. |
| Salesperson | Filters sales by salesperson. |
| Payment Method | Filters sales by payment type. |
When you use multiple Slicers, Excel applies the selected filters together.
For example, you can select:
Your PivotTable will show records that match the selected filters.
A Timeline is an interactive date-filtering tool used with supported PivotTables.
It allows you to filter information using a visual date control.
For example, a supermarket may have sales records from January to December 2026.
You can use a Timeline to display:
Unlike a normal Slicer, which filters categories such as products or branches, a Timeline is designed specifically for date fields.
Before inserting a Timeline, make sure your PivotTable contains a valid date field.
Excel will create a Timeline that you can use to filter your PivotTable.
A Timeline allows you to view dates at different levels.
The available levels usually include:
| Level | Meaning | Example |
|---|---|---|
| Years | Displays information by year. | 2025, 2026, 2027 |
| Quarters | Divides a year into four periods. | Q1, Q2, Q3, Q4 |
| Months | Displays information by month. | January, February, March |
| Days | Displays individual dates. | 1 January, 2 January |
You can change the Timeline level using the drop-down menu near the top-right corner of the Timeline.
After inserting a Timeline, follow these steps:
You can also drag the selection handles on the Timeline to select a range of dates.
For example, you can select January through March to analyse first-quarter sales.
To remove a Timeline selection:
This is a useful feature when building an Excel dashboard.
Imagine you have three PivotTables:
You may want one Branch Slicer to control all three PivotTables.
Excel provides a feature called Report Connections, sometimes labelled PivotTable Connections.
Now, selecting a branch in that Slicer can update all connected PivotTables.
| Feature | Slicer | Timeline |
|---|---|---|
| Purpose | Filters categories. | Filters dates. |
| Appearance | Displays clickable buttons. | Displays a visual date control. |
| Examples | Branch, Product, Department. | Days, Months, Quarters, Years. |
| Selection | Click one or more category buttons. | Select a date or date range. |
You can combine PivotTables, Slicers and Timelines to create an interactive sales report.
For example, a supermarket manager may want to:
With Slicers and Timelines, the manager can change the displayed information without creating a new report every time.
This makes Excel reports more useful for business decisions.
Possible solution: Make sure you have clicked inside a supported PivotTable. The Insert Slicer feature may not be available for an ordinary range of cells.
Possible solution: Check that your PivotTable has a valid date field. The source column should contain real Excel dates rather than text that only looks like dates.
Possible solution: Check Report Connections. The PivotTables may not share a compatible PivotCache or data model.
Possible solution: Check the source data and current filters. Also check whether the Slicer is configured to show items with no data.
Possible solution: Refresh the PivotTable. If new records were added outside the original source range, check that the PivotTable data source includes them. Using an Excel Table as the source can make new records easier to include after refreshing.
Open the supermarket sales workbook you have been using in previous modules.
Complete the following activities:
Challenge: Connect one Branch Slicer to both PivotTables using Report Connections, if they are compatible. Test whether both reports respond when you select a different branch.
Save your workbook as Interactive Supermarket Sales Report Module 8.xlsx.
| Term | Meaning |
|---|---|
| Slicer | An interactive tool used to filter PivotTable information. |
| Timeline | An interactive tool used to filter dates in a PivotTable. |
| Multi-Select | A feature that allows you to select multiple Slicer items. |
| Clear Filter | An option used to remove a current filter selection. |
| Report Connections | A feature used to connect a Slicer to compatible PivotTables. |
| Dashboard | A visual report that presents important information in one place. |
| Date Range | A period between two selected dates. |
Choose the correct answer for each question.
What is a Slicer in Excel?
Which tool is designed specifically for filtering dates in a PivotTable?
Which PivotTable tab usually contains the Insert Slicer option?
What happens when you click Ibadan in a Branch Slicer?
Which of the following is a common Timeline level?
Which option removes the current Slicer selection?
What does Report Connections allow you to do?
What should you check if a Timeline cannot be inserted?
Can you create multiple Slicers for one PivotTable?
Why are Slicers useful in Excel dashboards?
| Question | Correct Answer |
|---|---|
| 1 | B โ An interactive tool for filtering PivotTable information |
| 2 | C โ Timeline |
| 3 | D โ PivotTable Analyze |
| 4 | A โ The PivotTable filters to show Ibadan records |
| 5 | B โ Months |
| 6 | C โ Clear Filter |
| 7 | D โ Connect a Slicer to compatible PivotTables |
| 8 | A โ Whether the date field contains valid Excel dates |
| 9 | B โ Yes, you can create Slicers for different fields |
| 10 | C โ They allow users to interactively filter reports |
Congratulations! You have completed Module 8 of Pivot Tables in Excel.
In this module, you learned how to:
In the next module, you will learn how to turn PivotTable summaries into charts. You will discover how to create column charts, bar charts, line charts and pie charts to present information visually.