Circular Graphic without Zeros in data label

kalcerro_1

New Member
Joined
Feb 28, 2020
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Hello Everyone!

I have two graphics that are auto-generated when a tab appears in the excel workbook (appears generated by a macro runned by the user). These graphics will have sometimes values in Zero, values without any results, but somehow, these zeros always appear in the graphic, I have tried with different methods, advanced options in excel workbooks, changing the values in the data, using the if formula, but the zeros always appear in the data label. Picture attached of what I'm getting.
Is there a method, not using pivot tables, that can help me to hide automatic these zeros?

Best regards,

Karin.
 

Attachments

  • circulargrahpic.png
    circulargrahpic.png
    13.6 KB · Views: 3

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Hi Karin

You can format the number value in the labels

- right-click on one label and choose Format Data Labels->Number
- select Custom
- in the format box write: 0%;;
- click on the button Add

This should clear the 0% values. If you still have leader lines right-click on one of them, choose Format Leader Lines and select No Line.
 
Upvote 0
Solution
Hi Karin

You can format the number value in the labels

- right-click on one label and choose Format Data Labels->Number
- select Custom
- in the format box write: 0%;;
- click on the button Add

This should clear the 0% values. If you still have leader lines right-click on one of them, choose Format Leader Lines and select No Line.
Thank you @pgc01 that worked perfectly, Now I have a doubt, what happen if this is Automatic and the label contains text: Consumable 0%, I deleted the 0% but not the text, is there a format for text and numbers? And what happen when a new set of values is loaded? It will appear again?

Thank you again for your support. I've trying to find this in Microsoft Forums, with no success.

Karin.
 
Upvote 0

Forum statistics

Threads
1,215,781
Messages
6,126,859
Members
449,345
Latest member
CharlieDP

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