Solved

Excel:  Formatting pie chart - Show in legend the values

Posted on 2014-07-29
8
4,674 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
ID: 40226982
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
ID: 40227066
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
ID: 40227089
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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:Maliki Hassani
ID: 40227228
Bar chart, maybe that is the fix?
0
 
LVL 27

Accepted Solution

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

Author Closing Comment

by:Maliki Hassani
ID: 40227422
Thank you!!
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 40227458
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
ID: 40227502
cool thanks!  I will need this in my reports
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
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 the scrolling table in Microsoft Excel using the INDEX function.

778 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