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
 

Some videos you may like

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

GerryZ

Well-known Member
Joined
Jul 4, 2014
Messages
1,224
Office Version
  1. 365
Platform
  1. Windows
hello!
Your file doesn't open-up
just post a sample with few rows and columns with the expected outcome!
 

jaysin60

New Member
Joined
Mar 2, 2015
Messages
6
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
 

Watch MrExcel Video

Forum statistics

Threads
1,126,952
Messages
5,621,797
Members
415,856
Latest member
jimb2k

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
Top