How to Show Zero Values in Excel Pivot Table (2 Quick Ways)

If you have blank cells in your dataset, they will also be represented as blank in your Pivot Table. Here are 2 quick methods to display “Zero” instead of blank values.

Pivot Table Show Zero Values


We’ll use the following sample Monthly Income-Expense List as a dataset to demonstrate the methods:

Creating Pivot Table with Blank Cells

 

Method 1 – Use PivotTable Options

In the picture below, there are 3 blank cells, which were blank in the raw dataset, and therefore remained blank when converted into a Pivot Table. Let’s display those blank cells as $0 instead.

Showing Blank Cells in Dataset

STEPS

  • Right-click any cell in the pivot table and select PivotTable Options from the context menu.

Selecting PivotTable Options

  • Select Layout & Format in the Dialog box that opens.
  • In the Format section, insert 0 (zero) in the For empty cells show field.
  • Click OK.

Applying Layout & Format Settings

  • The blanks will be replaced by zeroes in the pivot table.

Output of Pivot Table Showing Zero Values


Method 2 – Apply Excel Advanced Option

We will again display each blank cell in the pivot table as a $0.

Showing Blank Cells in Dataset

STEPS

  • Click the File tab.

Opening File Tab from Excel Ribbon

  • Click Options.

Choosing Excel Options

  • Select Advanced from the Options menu.
  • Select the Advanced option.
  • Under Display options for this worksheet, tick Show a zero in cells that have zero value.
  • Click OK.

Preparing Advanced Settings to Show Zero Values

  • Blank cells are filled with $0 in the pivot table.

Output of Applying Advanced Option

Note: When using the Advanced option, you must have Zero (0) values in the original dataset, not blanks, to create Pivot Table values also displaying Zero (0).

Inserting Zero Values in Original Dataset


How to Hide Zero Values in Pivot Table

To performlease refer to the following tutorial: hiding zero values in the pivot table in Excel.

Read More: How to Remove Blank Rows in Excel Pivot Table


Download Practice Workbook


<< Go Back to Blank in Pivot Table | Pivot Table Formatting | Pivot Table in Excel | Learn Excel

Get FREE Advanced Excel Exercises with Solutions!
Mrinmoy Roy
Mrinmoy Roy

Mrinmoy Roy, a dedicated professional with a BSc in Electronics and Communication Engineering from Khulna University of Engineering & Technology, Bangladesh, brings over two years of expertise to the ExcelDemy project. As a prolific contributor, he has authored around 180 articles, showcasing his deep knowledge and passion for Microsoft Excel, Data Analysis, and VBA. His unwavering commitment to continuous learning, combined with versatile skills, renders him well-suited for roles in data management and spreadsheet solutions. He has interest... Read Full Bio

We will be happy to hear your thoughts

Leave a reply

Advanced Excel Exercises with Solutions PDF

 

 

ExcelDemy
Logo