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.
- Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
- More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
- Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
- Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
- Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
- Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
- More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.
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:
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:
3. Click Close button to close the dialog. Then you can see all zero data labels are hidden.
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.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 1 months agoDepending 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.
- To post as a guest, your comment is unpublished.· 1 months agoI 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.
- To post as a guest, your comment is unpublished.· 5 months agoThe 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'.
- To post as a guest, your comment is unpublished.· 10 months agoThanks that really works well for me.
- To post as a guest, your comment is unpublished.· 1 years agotnx, it works
- To post as a guest, your comment is unpublished.· 1 years agoHow can I hide Zero Data Labels when it is percentage (for example 0,00%, I do not want that label to be shown)?
- To post as a guest, your comment is unpublished.· 2 years agoHi
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.
- To post as a guest, your comment is unpublished.· 2 years agoFound this solution absolutely useful. Thanks a ton.
- To post as a guest, your comment is unpublished.· 4 years agoGreat solution! Can this be done retaining decimal points on the numbers that do appear?
- To post as a guest, your comment is unpublished.· 3 years agoKelcey, 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.
- To post as a guest, your comment is unpublished.· 3 years agoI use
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.
- To post as a guest, your comment is unpublished.· 4 years ago[b]Great![/b] Somehow It does not wonder me that this option is still not included in MS Office...for expl. MS Outlook after 10 years of auto recognize input language, still cant recognize it and just picks the language set on Keyboard... That is why I am thankful for people like you, to take your time and money and provide the world solutions! [b]Thank you very much![/b]
- To post as a guest, your comment is unpublished.· 5 years agoGood idea, however, incase I have many kinds category, how I can apply this type of format for all or have to format manually each data labels