Solved

Excel:  Formatting pie chart - Show in legend the values

Posted on 2014-07-29
8
4,339 Views
Last Modified: 2014-07-29
Experts,

I am redoing charts from crystal reports to excel, still wanting to keep the same chart design.  In excel (pie chart) I am trying to add in the legend the name and percentage.  Looks like this:

Legend:
HD-ODN     64.0%
HD-DVR ODN    24.1%
HD iGuide    16.2%

I have attached the chart in crystal, but would like to know how can I build the same chart in excel.  If not, any ideas to a similar design?
Thanks


2007 excel

chart-example.xlsx
0
Comment
Question by:Maliki Hassani
  • 4
  • 4
8 Comments
 
LVL 27

Expert Comment

by:Glenn Ray
Comment Utility
In the simplest terms, you would add a new label column that could combine the Group (ex., "HD-ODN") to a rounded value of the actual population.  You could hide this column if you wished.

Unfortunately, that does not provide you a separate data table on the bottom showing the percentages. However, I added percentages to the data labels using Excel's built-in features.

See the attached example.

-Glenn
EE-chart-example.xlsx
0
 

Author Comment

by:Maliki Hassani
Comment Utility
Thanks Glenn, I appreciate your help.  I will keep this open a few more hours just to see if any other ideas are available.
0
 
LVL 27

Expert Comment

by:Glenn Ray
Comment Utility
I forgot to round down the values to "K" so I've updated the workbook here.

Still, you can't add a data table to a pie chart (you can for a bar chart).  Short of creating a second table, I'm not sure how one could do it.

Regards,
-Glenn
EE-chart-example.xlsx
0
 

Author Comment

by:Maliki Hassani
Comment Utility
Bar chart, maybe that is the fix?
0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 27

Accepted Solution

by:
Glenn Ray earned 500 total points
Comment Utility
Bar chart: here's a first attempt (see second sheet).
EE-chart-example.xlsx
0
 

Author Closing Comment

by:Maliki Hassani
Comment Utility
Thank you!!
0
 
LVL 27

Expert Comment

by:Glenn Ray
Comment Utility
You're welcome.  Surprised, but glad that this solution will work for you.

Side note:  note that I inserted a line feed (CHAR(10)) in the formulas for the modified labels; this forces the percentage to a separate line below the group name.

-Glenn
0
 

Author Comment

by:Maliki Hassani
Comment Utility
cool thanks!  I will need this in my reports
0

Featured Post

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

How to quickly and accurately populate Word documents with Excel data, charts and images (including Automated Bookmark generation) David Miller (dlmille) Synopsis In this article you’ll learn how to use ExcelToWord! to copy data,charts, shapes …
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

771 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

9 Experts available now in Live!

Get 1:1 Help Now