Data Label formats for Excel Bar graphs

Optimus29

New Member
Joined
Oct 21, 2011
Messages
9
Hello Friends,

I am facing issue with Excel data labels.

I have a Bar graph generated in Excel presenting some percentage values.

I want to introduce a new data label. If a data in a perticular cell is anything other than a percentage value (For Ex: NA) It should display the data label in a graph as "Not Applicable". for rest of the valid percentage value it should display correspodning value.

Is there anyway to accomplish this using data label formats.

Thanks in advance!
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
Hi and welcome to the forum.

Unfortunately I don't think any number format will work for this, since error values ignore number formatting. If you convert the errors to text, they will plot as 0 and you could apply a custom format to 0 values, but obviously that won't work if 0 is actually a valid data value for you.
 
Upvote 0
Hi and welcome to the forum.

Unfortunately I don't think any number format will work for this, since error values ignore number formatting. If you convert the errors to text, they will plot as 0 and you could apply a custom format to 0 values, but obviously that won't work if 0 is actually a valid data value for you.

Hi Rorya,

Thanks for the quick reply.

Can you please elaborate on applying custom format for 0s?

I guess I will find some work around with that :-)
 
Upvote 0
You can apply a custom number format of:
0%;-0%;"No data"

for example.
 
Upvote 0

Forum statistics

Threads
1,223,243
Messages
6,170,967
Members
452,371
Latest member
Frana

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