Solved

Stacked bar chart - Only show data labels if value not 0

Posted on 2014-04-04
4
1,256 Views
Last Modified: 2014-04-04
Hi,

Im building a stacked bar chart where the colums are labeled both with value and series name.

I'm searching for a non-vba solution for excluding the series name from the label is the value is 0.  I've attached the chart for reference.

Any ideas?
MPK-Rapport-mock-up-0.3.xlsx
0
Comment
Question by:decisionfocus
  • 3
4 Comments
 

Author Comment

by:decisionfocus
ID: 39977587
Thanks for the answer!

However, this removes the data values - i need to exclude the series name as well so that if the data values is 0 neither the series name or the data value is displayed. I've tried to show it in the attached pic.

Br Jonas
Scrshot.jpg
0
 

Author Comment

by:decisionfocus
ID: 39977593
Or, alternatively, add two different labels to each data series - onw which contains the value and one which contains the series name
0
 
LVL 48

Accepted Solution

by:
Rgonzo1971 earned 500 total points
ID: 39977599
Hi,

For each serie in your chart you will have to go to Format Data Labels
Label Options: untick Series name
Number:
Custom
Add Format Code "SOK "0;;"" for the SOK Serie

Regards
Copy-of-MPK-Rapport-mock-up-0.3.xlsx
0
 

Author Comment

by:decisionfocus
ID: 39977665
That did the trick - thanks! Something dynamic would have been stellar, however this works for the purpose!

Br Jonas
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now