Pivot Table Issues

How to Hide Excel PivotTable Rows with Blank Values

Chanuka GeekiyanageChanuka Geekiyanage Nov 3, 2026 872 views

Question details

The user wants to hide rows in a PivotTable where all corresponding value fields contain no data or are completely blank.

How to Hide Excel PivotTable Rows with Blank Values
Product
Excel
Device & OS
not provided
Scenario
Analyzing data using PivotTables with multiple row fields and multiple value fields (such as separate columns for January and February).
Observed behavior
The PivotTable continues to display row labels even when all the value fields for those specific rows contain no data.
Before you start

Ensure your PivotTable is refreshed to reflect the most current source data, and check if any blank-looking cells actually contain invisible spaces or zero values hidden by custom formatting.

Solution 1Recommended

Disable the Show items with no data Option

The most common reason blank rows appear is a specific setting within the Field Settings of your PivotTable row items.

PivotTables often retain row labels for items that previously had data or exist in the dataset but have no values in the current filtered view. Disabling this default behavior forces the PivotTable to hide empty rows.

1
Open Field Settings

Right-click on the row field label (e.g., State, City, or Product) directly inside your PivotTable and select Field Settings from the context menu.

2
Navigate to Layout & Print

In the Field Settings dialog box, click on the Layout & Print tab at the top.

3
Uncheck the display option

Locate the checkbox that says Show items with no data. Uncheck this box, then click OK to apply the changes.

Disable the Show items with no data Option
Apply to All Rows: If you have multiple row fields (like State and City), you may need to repeat this process for each individual row field.
Powerful Spreadsheet Tool

Easily Manage Pivot Tables with WPS Spreadsheet

WPS Spreadsheet offers a seamless, highly compatible environment for creating and managing complex PivotTables. You can easily filter out blank rows, adjust field settings, and analyze your data without hassle.

  1. 1. Open the file in WPS: Launch WPS Spreadsheet and open your existing Excel workbook (.xlsx).
  2. 2. Access PivotTable options: Click any cell inside your PivotTable to reveal the PivotTable Tools tab on the ribbon.
  3. 3. Modify Field Settings: Right-click the targeted Row Label, choose Field Settings, and navigate to the Layout tab.
  4. 4. Hide empty data: Uncheck Show items with no data and click OK to instantly clean up your PivotTable view.
Fully compatible with Microsoft Excel (.xlsx) PivotTables and advanced formulas.Intuitive graphical interface for adjusting PivotTable Field Settings and filtering blanks.Lightweight and extremely fast, even when handling large datasets with multiple value fields.
microsoft office alternative - wps office

Frequently Asked Questions

Why is 'Show items with no data' grayed out in my PivotTable?

This option is typically grayed out if the data model is being used (such as Power Pivot), if the field is not a row or column field, or if the PivotTable is connected to certain types of external OLAP data sources.

Does filtering out blank rows delete the underlying data?

No, filtering or hiding rows in a PivotTable only changes the visual display of the summary report. Your original source data remains completely intact and unchanged.

How do I hide zero values instead of blanks in a PivotTable?

You can hide zero values by using a Value Filter on the row labels (setting it to 'Does Not Equal' 0), or by changing the number format of the value field to a custom format like '0;-0;;@', which visually hides zeroes.