Converting a row of data into a pie chart

wootcat

New Member
Joined
Mar 20, 2018
Messages
7
I'm building a spreadsheet of demographic results. I'm wanting to convert many of the rows of data into pie charts for easy consumption. My first attempt is trying to convert my Age row of data into a pie chart.

Here is a sample of made-up data...

Person Identifier
1
2
3
4
5
Age
<18
>53
38-53
38-53
38-53
Gender
M
M
F
F
F
Marital Status
Divorced
Married
Married
Single
Widowed
Children
1
2
0
1
2
Education
College
HighSchool
College
Trade
College

<tbody>
</tbody>

The Age row cells are dropdown lists via Data Validation, with the lists stored on a separate sheet.

How do I create a pie chart of a row of data such as the Age row? I'm wanting the pie chart to show percentages of people, counting how many times the row contains "<18", "18-37", "38-53", ">53", etc.

I found an older post here on how to do it with pivot tables, but I think Excel has changed since that 2008 post, as the instructions did not work for me. The two problems I'm having are...
  1. Excel won't let me create a pivot table with only one row of data
  2. If I select two rows of data (just to generate a pivot table at all), the pivotTable fields append numbers to my values, for instance, in the example above, the PivotTable values would list out

  • <18
  • >53
  • 38-53
  • 38-532
  • 38-533

It appears to be appending a count number to the end of each value, making counts not work either.

I'm really stumped and hoping there's a simple way to create these pie charts, so any help would be appreciated!
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Re: Help converting a row of data into a pie chart

Hello - before creating the chart you need to summarize your data

You need to transpose your data (copy it and paste special > transpose). Then add a pivot table and add a count by Age. then it is easy to make a Pivot Chart
 
Upvote 0
Re: Help converting a row of data into a pie chart

Hello - before creating the chart you need to summarize your data

You need to transpose your data (copy it and paste special > transpose). Then add a pivot table and add a count by Age. then it is easy to make a Pivot Chart

That's the missing bit! Thanks!
 
Upvote 0

Forum statistics

Threads
1,214,810
Messages
6,121,690
Members
449,048
Latest member
81jamesacct

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top