Pivot Table Issues

How to Filter an Excel Table by Row with a Slicer

Muhammad TalhaMuhammad Talha Nov 10, 2026 868 views

Question details

The user wants to know how to use an Excel slicer to filter table data specifically by row.

How to Filter an Excel Table by Row with a Slicer
Product
Spreadsheet
Device & OS
not provided
Scenario
Filtering data within an existing table using the visual Slicer tool.
Observed behavior
Slicers inherently filter table rows based on values selected from table columns, but cannot directly filter horizontal row labels unless the matrix is restructured.
Before you start

Ensure your data is formatted as an official Table (Ctrl+T) or Pivot Table before attempting to insert a slicer, as slicers cannot be applied to standard, unformatted data ranges.

Solution 1Recommended

Use a Slicer to Filter Standard Table Rows

Apply a slicer to a vertically structured Excel table to easily filter rows based on column criteria.

Slicers are visual filters that allow you to quickly filter rows in a table. They work by looking at the column headers and filtering the rows underneath them. If you want to filter rows based on specific data, that data must be organized into columns first.

1
Select table data

Click on any cell inside your formatted Excel table to make the Table Design tab active.

2
Insert the slicer

Navigate to the 'Insert' tab on the top ribbon and click on 'Slicer' in the Filters group.

3
Choose filter fields

In the 'Insert Slicers' dialog box, check the boxes for the column fields you want to use as filters, then click 'OK'.

4
Filter the rows

A slicer window will appear on your sheet. Click on the values within the slicer to instantly filter the table rows dynamically.

Use a Slicer to Filter Standard Table Rows
Data Structure: A table naturally has columns, and you slice it by selecting column values to filter out specific rows.
WPS Spreadsheet Solution

Easily Filter Table Data with Slicers in WPS Office

WPS Spreadsheet provides a highly intuitive and visually appealing way to filter your data using Slicers. It offers a smooth experience for managing Pivot Tables and standard tables alike.

  1. 1. Open spreadsheet and create table: Open your spreadsheet in WPS Office, select your data range, and press Ctrl+T to convert the data into a Table.
  2. 2. Insert slicer: Go to the 'Insert' tab on the top menu and click on the 'Slicer' icon.
  3. 3. Apply row filters: Select the columns you wish to use as filters and click 'OK' to start visually filtering your rows.
Fully compatible with Microsoft Excel (.xlsx) formats and slicer features.Clear visual filtering to quickly analyze large datasets without complex formulas.Free, lightweight, and easy-to-use interface for managing Pivot Tables and standard tables.
QA img-9

Frequently Asked Questions

Why is the Slicer button grayed out in Excel?

The Slicer button is only active when you have selected a cell within a formatted Table or a Pivot Table. Also, ensure your file is saved in the .xlsx format, as older .xls formats do not support slicers.

Can I use one slicer to filter multiple tables?

Yes, but only if the tables are Pivot Tables connected to the same data source. You can link them by right-clicking the slicer, selecting 'Report Connections,' and checking the Pivot Tables you want to link.

How do I clear a slicer filter to show all rows?

To clear the filter and show all rows, click the 'Clear Filter' icon (a funnel with a red X) located in the top-right corner of the slicer window, or press Alt+C while the slicer is selected.

Can I filter a table by row if my data is horizontal?

Not directly. Slicers are designed to filter rows based on column values. You will need to transpose your data into a vertical layout using the Paste Special > Transpose feature before applying a slicer.