+ Reply to Thread
Results 1 to 4 of 4

Pie chart with list of components to sections

  1. #1
    Registered User
    Join Date
    05-24-2012
    Location
    West Virginia, USA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Pie chart with list of components to sections

    Okay, so here's the problem I've been given. We are prioritizing different things in a list, and would like to show a pie chart relative to the amount of High, Medium, and Low priority jobs that there are. I've also been given the task of listing the ones that fall into a certain category with it.

    I was wondering what the best approach to this would be?

    Attached is sample data.

    Example.xlsx
    Last edited by Tony2009; 08-07-2012 at 08:38 AM.

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Pie chart with list of components to sections

    In E7, entered as an array (use CNTRL SHFT ENTER instead of ENTER. You'll see {} around your formula)

    =IFERROR(INDEX($A$2:$A$12,SMALL(IF($B$2:$B$12="Green",ROW($B$2:$B$12)-1,10000),ROW(A1))),"")

    dragged down and modified for Yellow and red.
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    05-24-2012
    Location
    West Virginia, USA
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Pie chart with list of components to sections

    Quote Originally Posted by ChemistB View Post
    In E7, entered as an array (use CNTRL SHFT ENTER instead of ENTER. You'll see {} around your formula)

    =IFERROR(INDEX($A$2:$A$12,SMALL(IF($B$2:$B$12="Green",ROW($B$2:$B$12)-1,10000),ROW(A1))),"")

    dragged down and modified for Yellow and red.
    Does that work for you?
    Awesome,

    I believe that this will work for what the user needs to see.

    Thanks,

    Tony2009

  4. #4
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: Pie chart with list of components to sections

    @ Tony2009

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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