Solved

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

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

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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

776 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