Sub topic 6
Add Your First Slicer
Assume you know how to move around Google Sheets, select a range, and enter simple formulas such as SUM. You also need a flat sales table with one header row, one record per row, and columns such as Order Date, Region, Category, Units, and Revenue.
A slicer is an on-sheet filter control. It lets a viewer choose values, such as West or Software, without opening the filter menu for the source table. Slicers can filter charts and pivot tables that use the slicer’s data range.
Select the data range
Open the sheet that contains your source table. In this example, the table is on a tab named Data:
| Order ID | Order Date | Region | Category | Units | Revenue |
|---|---|---|---|---|---|
| 1001 | 2026-01-05 | West | Hardware | 3 | 450 |
| 1002 | 2026-01-09 | East | Software | 1 | 120 |
| 1003 | 2026-02-02 | East | Hardware | 2 | 300 |
Click any cell inside the table. Then choose Data > Add a slicer. Google Sheets inserts a slicer and opens its settings in a sidebar.
The Data range field should contain the table range, including the header row. For example:
Data!A1:F1000If your table has only a few rows, you can use a smaller range, such as Data!A1:F4. A larger range gives you room to add future records, but keep the same columns and header names.
Choose the slicer column
In the slicer sidebar, find Column or Column to filter. Select Region. The slicer now represents the Region column.
Give the slicer a useful title, such as Region filter. The title helps viewers understand what the control changes.
Open the slicer control on the sheet. It shows filter choices from the selected column. Choose West, then click OK or close the filter menu. Rows associated with other regions become hidden from the filtered data view.
A slicer has two separate settings:
| Setting | Purpose |
|---|---|
| Data range | Identifies the source table the slicer can filter |
| Column | Identifies which field supplies the filter choices |
Changing the column to Category would let the same slicer filter by Hardware or Software instead.
Test what the slicer affects
To test the connection, create or select a pivot table or chart that uses the same source data range. Select West in the slicer. The connected pivot table or chart should update to show only West records.
If nothing changes, check these details:
- The pivot table or chart uses the same source range as the slicer.
- The slicer’s selected column matches a real header, such as
Region. - The source header row has no blank or duplicate column names.
- The values do not contain unexpected spaces, such as
Westinstead ofWest. - You have not selected a filter condition that excludes every row.
A slicer does not automatically change every formula on the sheet. A normal formula such as =SUM(Data!F2:F1000) may still include rows hidden by the slicer. Later, you can use SUBTOTAL for summary cells that follow filtered rows.
You can move and resize the slicer like a chart. Keep it near the dashboard’s charts and pivot tables so viewers can find it. Do not place it over source cells or important labels.
Exercise
You add a slicer using Data!A1:F1000 and select the Category column. Which values should the slicer offer, assuming the table contains Hardware and Software records?
Show answer
It should offer category values such as Hardware and Software, because the slicer reads choices from the selected Category column.