Skip to main content

How to hide zero data labels in chart in Excel?

Sometimes, you may add data labels in chart for making the data value more clearly and directly in Excel. But in some cases, there are zero data labels in the chart, and you may want to hide these zero data labels. Here I will tell you a quick way to hide the zero data labels in Excel at once.

Hide zero data labels in chart


arrow blue right bubble Hide zero data labels in chart

If you want to hide zero data labels in chart, please do as follow:

1. Right click at one of the data labels, and select Format Data Labels from the context menu. See screenshot:

doc-hide-zero-data-label-1

2. In the Format Data Labels dialog, Click Number in left pane, then select Custom from the Category list box, and type #"" into the Format Code text box, and click Add button to add it to Type list box. See screenshot:

doc-hide-zero-data-label-2

3. Click Close button to close the dialog. Then you can see all zero data labels are hidden.

doc-hide-zero-data-label-3

Tip: If you want to show the zero data labels, please go back to Format Data Labels dialog, and click Number > Custom, and select #,##0;-#,##0 in the Type list box.

Note: In Excel 2013, you can right click the any data label and select Format Data Labels to open the Format Data Labels pane; then click Number to expand its option; next click the Category box and select the Custom from the drop down list, and type #"" into the Format Code text box, and click the Add button.

doc-hide-zero-data-label-4


Relative Articles:

Best Office Productivity Tools

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

Description


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (15)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Muito obrigado!
This comment was minimized by the moderator on the site
Depending on your data set, you could use a helper column. The formula could use rounddown or IF(cell<1,0,cell). This way your slicers stay intact and your pie chart uses the new column.
This comment was minimized by the moderator on the site
I have a pivot chart (pie chart) where I need to remove the labels for any slice of the pie with a value under 1%. Right now, these are displayed as 0% (no decimal places). I am also using slicers to analyse the data by month, department and person. I am trying to get the chart to hide any labels where the value is less than 1%, but this will change when I change the variables in the slicers. I have fallen down a rabbit-hole here trying to figure this out.
This comment was minimized by the moderator on the site
The Microsoft way of doing it (though not found on ana MS help page) is to click File>Options>Advanced, scroll down to 'Display options for this worksheet', and uncheck / untick 'Show a zero in cells that have a zero value'. All the zeros disappear.

I seem to have found a way to remove the axis name and space on a graph or chart for zero values: Highlight the whole table, click Home>Sort and filter>Filter, Click on the header of the column with the blank zero values, and uncheck / untick 'Blanks'.
This comment was minimized by the moderator on the site
Thanks that really works well for me.
This comment was minimized by the moderator on the site
tnx, it works
This comment was minimized by the moderator on the site
How can I hide Zero Data Labels when it is percentage (for example 0,00%, I do not want that label to be shown)?
This comment was minimized by the moderator on the site
<span style="letter-spacing: 0.2px; color: inherit; font-family: inherit; font-style: inherit; font-variant-ligatures: inherit; font-variant-caps: inherit; font-weight: inherit;">0.0%;-0.0%;""    </span>
This comment was minimized by the moderator on the site
Hi
Thank you for sharing the solution above. It was really great help. However, after hiding zero values, I am having difficulties with hiding their labels. Can you please give a solution for that problem, too? Thank in advance for your help.
This comment was minimized by the moderator on the site
Found this solution absolutely useful. Thanks a ton.
This comment was minimized by the moderator on the site
Great solution! Can this be done retaining decimal points on the numbers that do appear?
This comment was minimized by the moderator on the site
Kelcey, use: #,##"";-#,##""; When using the second semicolon, you define what happens in case of zero. So, if you don't define anything, the value stays blank.
This comment was minimized by the moderator on the site
I use 0.0;;; and it also does the trick, in terms of retaining decimal places. You'd just adjust to the # of sig figs you want to keep. You have to assign the custom value to each data label series, but it keeps that format each time you refresh the data.
There are no comments posted here yet
Load More
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations