Suppress zeroes in stacked chart

bigpat

New Member
Joined
Nov 28, 2012
Messages
24
I have four categories across multiple series of data. Let's call them Red, Blue, Green, Yellow. I have a stacked chart showing the numbers of data points in each category. The chart has labels showing the value of each point, centred in each colour.

However, sometimes there is none of a particular colour. Let's say on this occasion I have Red = 10, Blue = 5, Green = 0, Yellow = 6. The chart shows red, blue and yellow but I get an extra label, showing 0 for Green and it appears on the border between blue and yellow.

I know I can take this label off manually, but the chart is refreshed every day, so tomorrow I might have green after all, but no red.

Is there an easy way to suppress the zeroes?
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

Forum statistics

Threads
1,224,825
Messages
6,181,190
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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