How to Show Empty Cells as Gaps in Excel for the Web Pivot Charts
Question details
Users need to display blank or #N/A values as gaps instead of zeros in Pivot Charts when working in a web browser.

- Product
- Excel for the Web
- Device & OS
- not provided
- Scenario
- Formatting and presenting missing data points accurately within Pivot Charts online.
- Observed behavior
- Blank or #N/A values in pivot charts are plotted as zero because Excel for the web lacks the desktop option for configuring hidden and empty cells.
Because Excel for the Web has restricted formatting capabilities, ensure you have access to a desktop spreadsheet application (like Microsoft Excel or WPS Office) to access the advanced chart configuration menus.
Use the Desktop Application to Configure Empty Cells
Since Excel for the Web lacks the 'Hidden and Empty Cells' setting, you must open the workbook in the desktop version to force the chart to display gaps instead of zeros.
Excel for the Web is a streamlined version of the software and does not support all the advanced charting options found in the desktop version. To change how missing data is plotted, the file must be edited locally.
While viewing your workbook in Excel for the Web, click the 'Viewing' or 'Editing' button on the top ribbon, and select 'Open in Desktop App' to launch the file locally.
In the desktop application, right-click on the Pivot Chart where the zero values are appearing and select 'Select Data' from the context menu.
In the Select Data Source dialog box, click the 'Hidden and Empty Cells' button located in the bottom-left corner.
Select the radio button for 'Show empty cells as: Gaps', click 'OK' to close the prompt, and click 'OK' again to apply the changes to your chart.

Use WPS Spreadsheet to Easily Configure Pivot Charts
Don't let web-based limitations restrict your data presentation. WPS Spreadsheet offers a completely free, desktop-grade environment where you have full control over advanced features, including how empty cells and #N/A errors are plotted in your charts.
- 1. Open the File in WPS Spreadsheet: Download your workbook from the web and open the .xlsx file using WPS Spreadsheet.
- 2. Open Data Selection: Right-click your Pivot Chart and choose 'Select Data' to access the advanced source settings.
- 3. Configure Empty Cells as Gaps: Click on 'Hidden and Empty Cells' and select 'Gaps' so your missing data is no longer plotted as a zero.

Frequently Asked Questions
Why are my blank cells showing as zero in Excel for the Web?
Excel for the Web defaults to plotting blank or #N/A values as zero because it does not currently support the 'Hidden and Empty Cells' configuration options available in the desktop version.
Can I fix this empty cell issue directly in my web browser?
No, Excel for the Web does not have the interface to change this specific setting. You must open the file in a desktop application to configure how empty cells are displayed.
Will the gap settings remain if I upload the file back to OneDrive?
Yes, the metadata for 'Hidden and Empty Cells' is saved within the workbook. However, Excel for the Web might still fail to render the gaps accurately in some chart types due to its online feature limitations.




