+ Reply to Thread
Results 1 to 10 of 10

How do I categorize different values?

  1. #1
    Registered User
    Join Date
    01-22-2016
    Location
    tx
    MS-Off Ver
    2013
    Posts
    6

    How do I categorize different values?

    I have just been organizing my expenses by font color, but I want to categorize them so that I can create pie charts.

    Here's a picture.
    REMOVED
    Last edited by cozam1; 01-24-2016 at 02:06 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: How do I categorize different values?

    Hi, welcome to the forum

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: How do I categorize different values?

    I believe you'll have to add in a column to state your category. Then base the pie chart on that column.

  4. #4
    Registered User
    Join Date
    01-22-2016
    Location
    tx
    MS-Off Ver
    2013
    Posts
    6

    Re: How do I categorize different values?

    Quote Originally Posted by FDibbins View Post
    Hi, welcome to the forum

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff) - and, depending on what browser is being used, some pics dont even show up on the forum

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.
    Ok. Thank you. Here you go!

    Quote Originally Posted by Beamernsw View Post
    I believe you'll have to add in a column to state your category. Then base the pie chart on that column.
    I tried that and don't think it turned out right.


    My workbook is attached.
    Attached Files Attached Files
    Last edited by cozam1; 01-24-2016 at 02:06 PM.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: How do I categorize different values?

    Sorry, that attachment seems to not be working, can you try the upload again?

  6. #6
    Registered User
    Join Date
    01-22-2016
    Location
    tx
    MS-Off Ver
    2013
    Posts
    6

    Re: How do I categorize different values?

    Quote Originally Posted by FDibbins View Post
    Sorry, that attachment seems to not be working, can you try the upload again?
    here you go.asdf1.xlsx

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: How do I categorize different values?

    Try this...
    H2=SUMIF($B$2:$B$31,G2,$D$2:$D$31)
    copied down

  8. #8
    Registered User
    Join Date
    01-22-2016
    Location
    tx
    MS-Off Ver
    2013
    Posts
    6

    Re: How do I categorize different values?

    Quote Originally Posted by FDibbins View Post
    Try this...
    H2=SUMIF($B$2:$B$31,G2,$D$2:$D$31)
    copied down
    It didn't work right for me. What I'm wondering is if there is a way to categorize/group different cells together. Like instead of changing the font and then using the sort and filter tool, can I assign E2 to be for health and then E3 to be for school, etc.?

    Thanks.

  9. #9
    Valued Forum Contributor
    Join Date
    12-28-2014
    Location
    NSW, Australia
    MS-Off Ver
    MS365
    Posts
    604

    Re: How do I categorize different values?

    That formula works perfectly for me.
    If you want your categories/groups to be in column E instead of B just change that B range in the formula to E.

    Since you have them all sorted anyway, if you want a running total you could use this in cell E2 copied down.
    =IF(B2=B1,E1+D2,D2)


    But in my opinion, Ford's formula is the far superior way to go
    Last edited by Beamernsw; 01-29-2016 at 08:54 PM.

  10. #10
    Valued Forum Contributor
    Join Date
    05-11-2013
    Location
    Wales
    MS-Off Ver
    Excel 2010
    Posts
    586

    Re: How do I categorize different values?

    Or you could use a pivot table - see attached.

    Regards

    Peterrc
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Need to Categorize 1 value in a Graph
    By ECYOJ in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-17-2014, 11:01 PM
  2. Categorize by State
    By stuccoguy1 in forum Outlook Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2014, 05:51 PM
  3. [SOLVED] Categorize sheets
    By Aris in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-19-2013, 09:58 PM
  4. categorize
    By shane.kelly in forum Excel General
    Replies: 2
    Last Post: 04-02-2012, 01:33 PM
  5. Excel 2007 : VLookup and categorize
    By elchenuk in forum Excel General
    Replies: 1
    Last Post: 11-01-2010, 08:26 AM
  6. Excel 2007 : categorize by month
    By rds207 in forum Excel General
    Replies: 5
    Last Post: 08-04-2009, 04:58 PM
  7. How to categorize values
    By atadeia in forum Excel General
    Replies: 2
    Last Post: 10-27-2008, 11:50 AM

Tags for this Thread

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