+ Reply to Thread
Results 1 to 9 of 9

How to make a simple pie chart from column with text values?

  1. #1
    Registered User
    Join Date
    09-06-2011
    Location
    Seattle, USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    How to make a simple pie chart from column with text values?

    I've been using Excel for years and am going absolutely nuts trying to make a simple pie chart.

    Let's say I have a text column

    Apple
    Orange
    Cherry
    Cherry
    Apple

    From the above I want to create a simple chart that show 3 slices and the percentages. How is this done?

    Many thanks!
    ps. Excel 2010

  2. #2
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: How to make a simple pie chart from column with text values?

    Charts cannot be build from text. Charts are fed by numbers. You need to have numbers to build a chart. Text is just a label.

    If your data sample indicates that each text is one part of the whole, there are five text entries, so each of them represents one fifth of the whole. You can use a formula to calculate the percentages for each item, or you can simply build a separate table and count the items

    amount
    Apple 2
    Orange 1
    Cherry 2

    This is data that you can use in a chart. There are many ways to aggregate data, for example with functions like Countif() or with a pivot table, if you have lots of data.

    Attached is a file with both options at work.
    Attached Files Attached Files
    Last edited by npamcpp; 06-07-2012 at 06:11 AM.

  3. #3
    Registered User
    Join Date
    09-06-2011
    Location
    Seattle, USA
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: How to make a simple pie chart from column with text values?

    Thanks very much for this. I was able to work with the countifs you provided though was frustrated that it had to be done. Unfortunately I had a lot of categories so it was a good hour or so of manual data entry... yeah, it wasn't just a couple different fruit flavors :-)

    Unless I'm a weirdo I would imagine others would need to perform quick pie charts from surveys and so on and I'm surprised that Microsoft doesn't have a canned solution for this

  4. #4
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: How to make a simple pie chart from column with text values?

    They do. That's what pivot tables and pivot charts are for. It took me less than 7 clicks to create the pivot table AND the chart.

  5. #5
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: How to make a simple pie chart from column with text values?

    Even without pivot table/chart you could have used the Remove Duplicates feature to get a unique list of items. Then a simple formula copied down would have given you your chart data.

    Also, if there really are many unique items you might want to consider an alternative chart to pie.
    Cheers
    Andy
    www.andypope.info

  6. #6
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: How to make a simple pie chart from column with text values?

    if you have a lot of categories you shouldn't use a pie chart. they are really hard to read. a bar chart is a better choice.
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  7. #7
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: How to make a simple pie chart from column with text values?

    Andy, looking at the profile, rasiel is using 2003, so "remove duplicates" is not available.

    rasiel, you could use Advanced Filter to create a list of unique values thus: Data > Filter > Advanced Filter > Copy to another location, and tick Unique records only

  8. #8
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,434

    Re: How to make a simple pie chart from column with text values?

    See PS at end of first post.

    Many thanks!
    ps. Excel 2010

  9. #9
    Valued Forum Contributor
    Join Date
    04-30-2012
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    547

    Re: How to make a simple pie chart from column with text values?

    Duh!
    ........................

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1