Hide data labels with zero values WITHOUT changing number format

raheem

New Member
Joined
Apr 24, 2017
Messages
34
Hi,
How to hide data labels with zero value? I did a bit search but all solutions suggested are by changing number format. As I already have a defined number format in the chart, changing format is not an option. Also, VBA is not an option.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
As I already have a defined number format in the chart, changing format is not an option. Also, VBA is not an option.

In that case ....I don't believe you can !
 
Upvote 0
Is there any VBA option or the ONLY way is to change number format?
I thought you said VBA wasn't an option !!!
Have you thought about using IF statements and NA() in your data table to eliminate series so they don't get plotted on the graph?
 
Upvote 0
I thought you said VBA wasn't an option !!!
Have you thought about using IF statements and NA() in your data table to eliminate series so they don't get plotted on the graph?

yes first I do said vba is not option but can be tried. Unfortunately data table has to be in Accounting format. It is just that zeros on charts look ugly. Anyway, will try manually deletingzero labels.
 
Upvote 0
You can convert the zero values to #N/A values as shown in this video:
. That way the data labels are not shown.
 
Upvote 0
Why can't you change the number format of the data labels? It won't affect the data table.
 
Upvote 0
Because the non zero values must follow a specific format.

I don’t see your point. You can format positive and negative values as you need.
 
Upvote 0

Forum statistics

Threads
1,215,506
Messages
6,125,193
Members
449,213
Latest member
Kirbito

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top