ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • About
  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Data tools
  3. Show Zero Instead of Blank in a Pivot Table

Show Zero Instead of Blank in a Pivot Table

By ExcelReady Team·Updated November 2, 2026·5 min read

The short answer

Right-click any cell in the pivot table and choose PivotTable Options. On the Layout & Format tab, tick For empty cells show, type 0 in the box and click OK. Every empty value cell now shows 0, and the setting stays when you refresh. You can type a dash or text such as n/a instead of 0.

Key takeaways

  • A pivot table leaves a cell blank when no source rows exist for that combination, such as South in February.
  • Fix it in PivotTable Options > Layout & Format: tick For empty cells show and type 0.
  • The setting belongs to that pivot table, survives a refresh, and works for Sum, Count and Average.
  • A (blank) row or column label is a different problem: the source data has empty cells in that field.
  • To show a dash rather than 0, type - in the same box, or use a custom number format.
On this page+
  1. Why does a pivot table show blank cells?
  2. How to show zero instead of blank in a pivot table
  3. Show a dash or text instead of zero
  4. Why the pivot table still shows blank after the fix
  5. How to remove (blank) labels in a pivot table
  6. Show zero for errors and for missing items
  7. Check a blank cell with SUMIFS
  8. Practise it

To make a pivot table show zero instead of blank, open PivotTable Options, tick For empty cells show and type 0. It takes ten seconds, applies to the whole pivot table and stays after every refresh. This guide explains why the blanks appear, walks through the setting, and covers the related problems people often mix up with it: "(blank)" labels, error values and missing rows.

All the examples use this sales data in A1:C8:

ABC
1RegionMonthSales
2NorthJan1200
3NorthFeb900
4SouthJan800
5SouthMar650
6EastFeb1100
7EastMar700
8NorthMar500

Why does a pivot table show blank cells?#

A pivot table shows a blank when no source rows match that combination of labels. Put Region in Rows, Month in Columns and Sales in Values, and you get this:

Sum of SalesJanFebMarGrand Total
East11007001800
North12009005002600
South8006501450
Grand Total2000200018505850

East has no January sale and South has no February sale, so those two cells are empty. Excel is being honest: there is nothing to add up. But in a report, a blank can look like missing data or a mistake, and it breaks formulas that read the pivot table. A 0 says clearly "we checked, and the total is zero". If you are new to building these, start with the beginner's guide to pivot tables.

How to show zero instead of blank in a pivot table#

The setting lives in PivotTable Options. On Windows:

  1. Right-click any cell inside the pivot table.
  2. Choose PivotTable Options. (You can also click PivotTable Analyze > Options on the ribbon.)
  3. Open the Layout & Format tab.
  4. Under Format, tick For empty cells show.
  5. Type 0 in the box next to it.
  6. Click OK.

The East–Jan and South–Feb cells now show 0. On a Mac, right-click the pivot table and choose PivotTable Options as well. The dialog looks a little different, but the For empty cells show box is in the same dialog.

The setting belongs to this one pivot table. If you have several, repeat the steps for each, or set up one pivot table the way you like and copy it.

Show a dash or text instead of zero#

The box accepts any short text, not just 0. Common choices:

  • 0 for a report where totals are read or charted.
  • - (a dash) for a cleaner printed table, where zeros would add clutter.
  • n/a or none when you want readers to notice the gap.

Keep in mind that text in the box is only for display. If another formula reads the cell, a dash or "n/a" is text, not a number. To keep a true number but show it as a dash, type 0 in the box, then change the number format: open Value Field Settings > Number Format, choose Custom and use #,##0;-#,##0;"-". The third part of the format controls how zeros look.

Why the pivot table still shows blank after the fix#

If some cells stay blank after you tick the box, check these:

  1. The box is empty. Ticking For empty cells show without typing anything still shows blanks. Type 0.
  2. You ticked the wrong box. For error values show sits just above it and only changes cells with errors.
  3. You are looking at a different pivot table. The setting applies only to the one you changed.
  4. The source data changed but the pivot table didn't. New rows only appear after a refresh, so a cell can stay empty until you refresh.

How to remove (blank) labels in a pivot table#

A (blank) row or column label is a different problem. It means some source rows have an empty cell in that field, for example a sale with no region typed in. The fix is in the data, not in the options:

  • Fill in the missing values in the source data, then refresh. The refresh guide shows how (Windows: Alt+F5; on a Mac, right-click and choose Refresh).
  • If the blanks are genuine, click the label's drop-down arrow and untick (blank) to hide it.
  • Or click the (blank) cell and type a clearer label, such as "No region". Excel renames that label in the pivot table.

Show zero for errors and for missing items#

Two more settings sit close to For empty cells show:

  • For error values show is on the same Layout & Format tab. Tick it and type 0 or a dash to hide errors such as #DIV/0! in calculated fields.
  • Show items with no data is in Field Settings > Layout & Print for a row or column field. It shows a label even when the current filter leaves it with no rows, so your layout stays the same size. Combined with For empty cells show, those rows fill with zeros.

The same blank rule applies when you count rows, which the guide to counting with a pivot table covers. And if you sort by a column with zeros in it, the pivot table sort guide explains where they land.

Check a blank cell with SUMIFS#

A formula is a quick way to confirm that a blank really means zero. SUMIFS adds the values that match every condition, and returns 0 when nothing matches:

Excel formula
=SUMIFS(C2:C8,A2:A8,"South",B2:B8,"Feb")

The result is 0: there is no South row for February, which matches the blank cell in the pivot table. Change "Feb" to "Mar" and you get 650, the same as the pivot table. This kind of cross-check is also handy in data tests, where you may need to prove a pivot table total.

Practise it#

Practise pivot tables in a live spreadsheet: you build each summary step by step and get instant feedback. Then try the SUMIFS cross-check on this page to confirm what a blank cell really means.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

A pivot table of this data leaves South in Feb blank. Check what the true total is: in G2, use SUMIFS to add Sales (C2:C8) where Region (A2:A8) is South and Month (B2:B8) is Feb.

fx
ABCDEFGH
1
Region
Month
Sales
2
North
Jan
1200
South
Feb
3
North
Feb
900
4
South
Jan
800
5
South
Mar
650
6
East
Feb
1100
7
East
Mar
700
8
North
Mar
500
9
10
11

Tip: Sum range first, then each criteria range with its value in quotes. With no matching rows, SUMIFS returns 0, not a blank.

Practise this in a lesson

LessonPivot tables 1Build your first PivotTable on a new sheet: total sales by region, split them by product, then switch the summary from Sum to Count and Average and read the answer off the pivot.

Frequently asked questions

How do I show 0 instead of blank in a pivot table?

+

Right-click the pivot table, choose PivotTable Options, and on the Layout & Format tab tick For empty cells show. Type 0 in the box and click OK.

Why does my pivot table show blank cells?

+

There are no rows in the source data for that combination of row and column labels, so there is nothing to add up. The pivot table leaves the cell empty rather than guessing a value.

How do I remove (blank) from a pivot table?

+

The (blank) label means some source rows have an empty cell in that field. Fill in the missing values in the source data and refresh, or filter (blank) out with the label's drop-down arrow.

Will the zero setting stay after I refresh the pivot table?

+

Yes. For empty cells show is saved with the pivot table, so it stays after a refresh or when new rows are added to the source.

Can a pivot table show a dash instead of zero?

+

Yes. Type a dash, or any short text such as n/a, in the For empty cells show box. Leave the box empty to go back to blank cells.

Sources

  • Create a PivotTable to analyze worksheet data - Microsoft Support
  • SUMIFS function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 2, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. Why does a pivot table show blank cells?
  2. How to show zero instead of blank in a pivot table
  3. Show a dash or text instead of zero
  4. Why the pivot table still shows blank after the fix
  5. How to remove (blank) labels in a pivot table
  6. Show zero for errors and for missing items
  7. Check a blank cell with SUMIFS
  8. Practise it

Keep reading

Data tools· 6 min read

Pivot Table "Show Values As" Explained

Show Values As is a pivot table setting that changes how each number is displayed without changing the source data. Right-click a value, choose Show Values As, and pick an option such as % of Grand Total, % Difference From, Running Total In or Rank Largest to Smallest. Choose No Calculation to go back to plain sums.

Data tools· 5 min read

Pivot Tables in Excel: A Beginner's Guide

A pivot table summarizes a long table in a few clicks, without formulas. Click a cell in your data, choose Insert > PivotTable, and click OK to put it on a new sheet. Then drag fields into Rows, Columns and Values: Region in Rows and Sales in Values gives total sales for each region.

Data tools· 5 min read

Count in a Pivot Table: Count vs Distinct Count

To count in a pivot table, drag a field into Values and set it to Count: right-click a number, choose Summarize Values By, then Count. Count adds up rows, so a customer with three orders counts three times. To count each customer once, tick Add this data to the Data Model when you create the pivot, then use Distinct Count.

More on data tools

  • Group Dates by Month or Year in a Pivot Table
  • Pivot Table Tricks: Subtotals, Filters and % of Total
  • How to Sort a Pivot Table in Excel
  • How to Reference Another Sheet in Excel
  • How to Refresh a Pivot Table (and Why It Doesn't Update)
  • How to Remove Duplicates in Excel (3 Ways)
All data tools articles →

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free