Solved

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

Posted on 2014-04-04
4
1,340 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 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

615 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