Return to site

Add Percentage To Pie Chart In Excel

broken image


Suppose the user has data in absolute values. He needs to display the information on the chart. For the sake of clarity it is necessary to show the relative values of the data. For example, what percentage of the plan is made, how many goods sold, which part of the students coped with the task, what percentage of employees has a college education, etc.

  1. Add Percentage To Pie Chart In Excel
  2. How To Make A Pie Chart In Excel

Solving this task is not so difficult. But there are might be some difficulties without working skills in Excel when you have lack of experience. Let us consider in detail how to make an Interest chart in Excel.

The most common chart type used to show percentages is a pie chart. To create a pie chart, take the following steps: 1. Enter and select the data that you will use to create the pie chart. On the Insert tab of the ribbon, in the Charts group, click on the Insert Pie or Doughnut Chart button and in the opened menu, click on the first option. Step 3: Add Data Labels to the pie chart: right click on the pie, then click 'Add Data Label'; The data labels were added to the pie chart. Step 4: 'Category Name' and Position: Right click on any data label, and select 'Format Data Labels', in the dialog window, check 'Category Name', 'Show Leader Lines' and then check 'Outside End' in the. To switch to one of these pie charts, click the chart, and then on the Chart Tools Design tab, click Change Chart Type. When the Change Chart Type gallery opens, pick the one you want. Select data for a chart in Excel. Create a chart in Excel. Add a chart to your document in Word. Add a chart to your PowerPoint presentation.

Pie chart Interest

Hi, I am trying to add the $ values and percentages to the legend of a pie chart. I know I can add it to the main area of the chart, but because of the number of fields, it is very hard to read that way. Do you know if there is a way to add the $ values and percentages to the legend of a pie chart in Excel? I need to plot percentages over time in a line graph in excel. I don't want to have to do a percentage equation in the spreadsheet, I just want excel to take two sets of values and display the percentage in the chart. For example, I need B1 as a percentage of B2 for week 1, C1 as a percentage of C2 for week 2, etc.

We construct a pie chart with the percentage assignment. For example take an official tax analyst 'Income tax types in the consolidated budget for 2015':

Select the entire table including the names of the columns. On the 'INSERT' tab in the 'Charts' group choose a simple 'Pie'.

Diagram appears on the sheet after clicking on the tabs of the selected type of the form:

A separate segment of the circle is the share of each tax in the total revenues of the consolidated budget in 2015.

Now we show the percentage of taxes in the diagram. Click the right mouse button. In the dialog box select a task 'Add Data Labels'.

The values from the second column of the table will be on the parts of the circle:

Add Percentage To Pie Chart In Excel

Once again right click on the chart and select the item 'Format Data Labels':

In the menu in the subgroup of 'LABEL OPTIONS' you need to uncheck the 'Value' and put the checkmark on 'Percentage'.

In the 'NUMBER' subgroup change the common format on percentage. Remove the decimal digits and set the format code '0%'.

Put the '0.0%' in the 'Format Code' field if you want to display percentages with a single decimal place. Set '0.00%' if you need two characters after the decimal point. And so on.

Default settings allow you to change the place of signatures on the chart. Possible options:

  • 'Center' - the signature will be displayed at the center of the segments;
  • 'Inside End' - the signature will appear from the inside circumference;
  • 'Outside End' - a signature will appear on the outside of the circle. When you select this diagram option pie will be slightly smaller but smaller data improves readability;
  • 'Best Fit' - option allows Excel to set the signature optimally.

In the menu in the subgroup of 'TEXT OPTIONS' you can use the tool 'Text direction' to change the direction of the signatures in the subgroup of 'Vertical alignment'. It also set the incline angle.

Print software for mac. Choose a 'horizontal' direction and position 'Middle Center'.

Pie chart with percentage is ready. The chart shows the percentage of income from taxation.

100% Stacked Column

Let's add columns to the table:

  1. with a percent (the percentage contribution of each type of tax in the total amount);
  2. 100%.

We click on any cell of the table. Go to the tab 'INSERT'. In the group of 'Carts' choose '100% Stacked Column'.

Automatically created a chart does not solve the problem. Therefore in 'CHART TOOLS'-'DESIGN' tab in the 'Data' group go to the 'Select Data'.

Change the order of rows Use the arrows to, so that percentage rates were at the bottom. Delete a number which indicates the absolute values. The title 'Series1' should not be as sign of the horizontal axis.

Select any column created charts. Click the right mouse button. In the dialog box select a task 'Add Data Series'.

We go to the tab 'Format Data Series' in the menu that appears. We set the value 100% for the overlapping rows.

Add Percentage To Pie Chart In Excel

As a result of this work we get a chart like this:

This chart gives understanding the percentage of taxes in the consolidated budget.

A fantastic question came up during last week's open lab. Is it possible to create a PivotChart pie chart that can be filtered to show only the percent of the item selected? Here is one solution for that question (and spoiler alert, it is technically not a PivotChart).

A few things before we get started…

Add Percentage To Pie Chart In Excel
  • First, thank you to Marsha for having this question and inspiring this Byte!
  • Second, this article assumes you have some knowledge of Tables, PivotTables, and Charts in Excel. If you don't, please come attend a session… times are listed in myTraining.
  • Lastly, this is basically a different take on the idea of a progress pie chart… and I am by no means the creative genius behind this overall idea! If you have a minute, look at some of the tutorials out there for the different use cases for these. They are mighty handy.

Normally when you select a slicer or filter a Pie chart by one item, each item shows as 100%. Here is an example: Insert for mac.

Below is a visual of a PivotChart Pie Chart…

Looks great… but when I add my slicers and filter by one item, it always shows as 100% of the total, because it is 100% of what is displayed.

What if we want to use those slicers, but also maintain the visual of the item's percent of the grand total… in other words, in this case, to still show as 36% of the whole? Some finagling is in order.

Rather than an exercise, I am going to try something different. Here is the final document… and below will be the steps I took to create it: Example Document

In the document, one sheet is the source data, and the other sheet is the final chart with slicers that will adjust the pie chart accordingly.

Click on a few slicer buttons to test it out. Pretty cool!

We originally started with source data (on the Source Data sheet in the document) that consisted of two columns: item and a number.

This first step might be optional, depending on your use case. Since data would be fluctuating in our case (e.g. new rows of data added), it was best to format as a table.

We learn about tables in Excel Essentials, and the advantages of formatting as tables in Excel Pivot Tables, so please come to a session if you are interested in learning more!

1. You can either go to the Home tab, Format as Table, or use the command Ctrl + T.

2. Pick a design if you would like (in this case, yellow for WSU).

We need a cheat column that would keep a percent constant when filtered, so a helper column was in order. You have probably noticed that formulas look different in a table… you still want to build them in the first cell of a column to carry them down.

We want the column to take the figures in column B and divide them by the total. The formula ends up looking like this: =[@Number]/SUM([Number])

This looks complicated, but it is very automatic. Here were my keystrokes/mouse clicks:

[click into the first cell of Column C], Type = [click on B1] / SUM [Select B2 through B7].

  1. Click on the table to activate Table Design tab.
  2. On Table Design tab, Select Summarize with PivotTable.
  3. Location of Pivot Table: on a new sheet, titled Pivot.
  4. Build the table with Item as rows, Helper Column as Values.5. Insert Slicer for Item (on the PivotTable Analyze tab).
Add Percentage To Pie Chart In Excel

So here is the twist… Instead of creating a PivotChart, we are actually going to create a chart from helper cells that reference information from the PivotTable.

1. The first helper cell references the Grand Total of the PivotTable:

[Click in B1], type = [click on the Grand Total cell of the PivotTable].

Notice how this appears in the formula bar as a GETPIVOTDATA formula in the formula bar. This cell will always return whatever Pivot Grand Total is Displayed.

2. The second helper cell, in B2, contains the formula =1-B1. So it will always read the difference of 100% from whatever the GETPIVOTDATA result shows.

Finally, we can make the chart!

1. Select the two Helper Cells in B1 and B2.

2. Go to the Insert tab, and select the Pie Chart dropdown.

3. Select the Doughnut (it could be any of the pies, but this is the route I took for reasons you will see).

How To Make A Pie Chart In Excel

4. If desired, you can pick special colors by right clicking on any data point and selecting Fill. I picked some WSU colors.

The number you see in the center of the doughnut is actually a title. Remember how we learn in Excel Pivot Tables, Charts and Pictures training that a chart title can reference a specific cell? This will come in handy here.

Add Percentage To Pie Chart In Excel

1. Title: Click on the line of the title and press = , then click on B1

So this Title will always reference this cell, which will always reference the grand total displayed on the PivotTable.

This means you will always have a number corresponding to the colors on the chart.

2. Text Box: This may be optional depending on your situation, but I inserted a Text Box at the top of the chart to read Percent of Total: Insert tab, Text Box.

3. Position Slicers: Final step was moving the Slicers and resizing them so they fit neatly on top of the Pivot Table. This was only cosmetic, and is also optional. Really there are infinite possibilities for how you could play around with final formatting with a chart like this.

It is worth mentioning that, depending on your situation, you may be able to skip the PivotTable step by incorporating a total row in your Table. This would apply if you didn't need to sum multiple entries of specific items.

You would still need to incorporate helper columns, but instead of linking to the Grand Total of the PivotTable, they could link to the Total Row sum.

So many possibilities!

What do you think? Has this sparked any ideas? Have you used pie/doughnut charts for this type of scenario before?

Congratulations to our newest Power Users! For the full gallery, and more information about the WSU Microsoft Office Power User Program, please visit: wichita.edu/poweruser

Robin Mishler

Add percentage to pie chart in excel

As a result of this work we get a chart like this:

This chart gives understanding the percentage of taxes in the consolidated budget.

A fantastic question came up during last week's open lab. Is it possible to create a PivotChart pie chart that can be filtered to show only the percent of the item selected? Here is one solution for that question (and spoiler alert, it is technically not a PivotChart).

A few things before we get started…

  • First, thank you to Marsha for having this question and inspiring this Byte!
  • Second, this article assumes you have some knowledge of Tables, PivotTables, and Charts in Excel. If you don't, please come attend a session… times are listed in myTraining.
  • Lastly, this is basically a different take on the idea of a progress pie chart… and I am by no means the creative genius behind this overall idea! If you have a minute, look at some of the tutorials out there for the different use cases for these. They are mighty handy.

Normally when you select a slicer or filter a Pie chart by one item, each item shows as 100%. Here is an example: Insert for mac.

Below is a visual of a PivotChart Pie Chart…

Looks great… but when I add my slicers and filter by one item, it always shows as 100% of the total, because it is 100% of what is displayed.

What if we want to use those slicers, but also maintain the visual of the item's percent of the grand total… in other words, in this case, to still show as 36% of the whole? Some finagling is in order.

Rather than an exercise, I am going to try something different. Here is the final document… and below will be the steps I took to create it: Example Document

In the document, one sheet is the source data, and the other sheet is the final chart with slicers that will adjust the pie chart accordingly.

Click on a few slicer buttons to test it out. Pretty cool!

We originally started with source data (on the Source Data sheet in the document) that consisted of two columns: item and a number.

This first step might be optional, depending on your use case. Since data would be fluctuating in our case (e.g. new rows of data added), it was best to format as a table.

We learn about tables in Excel Essentials, and the advantages of formatting as tables in Excel Pivot Tables, so please come to a session if you are interested in learning more!

1. You can either go to the Home tab, Format as Table, or use the command Ctrl + T.

2. Pick a design if you would like (in this case, yellow for WSU).

We need a cheat column that would keep a percent constant when filtered, so a helper column was in order. You have probably noticed that formulas look different in a table… you still want to build them in the first cell of a column to carry them down.

We want the column to take the figures in column B and divide them by the total. The formula ends up looking like this: =[@Number]/SUM([Number])

This looks complicated, but it is very automatic. Here were my keystrokes/mouse clicks:

[click into the first cell of Column C], Type = [click on B1] / SUM [Select B2 through B7].

  1. Click on the table to activate Table Design tab.
  2. On Table Design tab, Select Summarize with PivotTable.
  3. Location of Pivot Table: on a new sheet, titled Pivot.
  4. Build the table with Item as rows, Helper Column as Values.5. Insert Slicer for Item (on the PivotTable Analyze tab).

So here is the twist… Instead of creating a PivotChart, we are actually going to create a chart from helper cells that reference information from the PivotTable.

1. The first helper cell references the Grand Total of the PivotTable:

[Click in B1], type = [click on the Grand Total cell of the PivotTable].

Notice how this appears in the formula bar as a GETPIVOTDATA formula in the formula bar. This cell will always return whatever Pivot Grand Total is Displayed.

2. The second helper cell, in B2, contains the formula =1-B1. So it will always read the difference of 100% from whatever the GETPIVOTDATA result shows.

Finally, we can make the chart!

1. Select the two Helper Cells in B1 and B2.

2. Go to the Insert tab, and select the Pie Chart dropdown.

3. Select the Doughnut (it could be any of the pies, but this is the route I took for reasons you will see).

How To Make A Pie Chart In Excel

4. If desired, you can pick special colors by right clicking on any data point and selecting Fill. I picked some WSU colors.

The number you see in the center of the doughnut is actually a title. Remember how we learn in Excel Pivot Tables, Charts and Pictures training that a chart title can reference a specific cell? This will come in handy here.

1. Title: Click on the line of the title and press = , then click on B1

So this Title will always reference this cell, which will always reference the grand total displayed on the PivotTable.

This means you will always have a number corresponding to the colors on the chart.

2. Text Box: This may be optional depending on your situation, but I inserted a Text Box at the top of the chart to read Percent of Total: Insert tab, Text Box.

3. Position Slicers: Final step was moving the Slicers and resizing them so they fit neatly on top of the Pivot Table. This was only cosmetic, and is also optional. Really there are infinite possibilities for how you could play around with final formatting with a chart like this.

It is worth mentioning that, depending on your situation, you may be able to skip the PivotTable step by incorporating a total row in your Table. This would apply if you didn't need to sum multiple entries of specific items.

You would still need to incorporate helper columns, but instead of linking to the Grand Total of the PivotTable, they could link to the Total Row sum.

So many possibilities!

What do you think? Has this sparked any ideas? Have you used pie/doughnut charts for this type of scenario before?

Congratulations to our newest Power Users! For the full gallery, and more information about the WSU Microsoft Office Power User Program, please visit: wichita.edu/poweruser

Robin Mishler

Megan Nold (not pictured)

Kylie Sharpe





broken image