Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2014-04-04
4
Medium Priority
?
1,368 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 52

Accepted Solution

by:
Rgonzo1971 earned 2000 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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.

721 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