Removing 0 values from data and legend

jaysin60

New Member
Joined
Mar 2, 2015
Messages
6
Hi All

Well this is my first question in MR EXCEL, hope I can explain better

I have made a graph, which is taking a data from a table (please see the file from below link). The problem is; sometime there is no data in a series value, still excel take it as a blank-legend. I tried using NA() in condition but nothing worked, maybe someone could suggest me a macro

Here one question arises: why didn't I make the graph directly from the pivot table? The reason behind this is that I want to show the total across the row in front of the bar (you might have aware of this trick), so I had to create a separate table with totals.

Please anyone suggest me a way to remove 0 and unwanted legend in this graph

Thanks in advance!!

http://www.filedropper.com/samplegraph
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
hello!
Your file doesn't open-up
just post a sample with few rows and columns with the expected outcome!
 
Upvote 0
hello!
Your file doesn't open-up
just post a sample with few rows and columns with the expected outcome!



hi GerryZ,

try to download the file..it is very hard to explain with row and column here because it contains the graphs where i'm getting the problem. Or let me know where I can share the excel for everyone
 
Upvote 0

Forum statistics

Threads
1,214,523
Messages
6,120,031
Members
448,940
Latest member
mdusw

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