+ Reply to Thread
Results 1 to 8 of 8

Total values when another cell meet a certain criteria

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Total values when another cell meet a certain criteria

    I am looking for a way to get a total points for each race category.

    ie: Total points earned for Asian students, white students Etc.

    See attached Spreadsheet for data.

    Also would there be a way to do this and return the totals for Asian Males, Asian Females, White Males, White Females, etc.

    Thanks in advance

    George
    Attached Files Attached Files

  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
    53,049

    Re: Total values when another cell meet a certain criteria

    try this...
    I made a table with the unique categories (copied B and removed dup's)
    F
    G
    H
    1
    Male
    Female
    2
    American Indian/Alaskan Native
    30
    -5
    3
    Asian
    104
    131
    4
    Black/African-American
    213
    373
    5
    Hispanic/Latino
    926
    986
    6
    N/A
    12
    0
    7
    Native Hawaiian/Pacific Islander
    0
    25
    8
    Other
    -2
    0
    9
    White/Caucasian
    2237
    2353


    Then I used this in G2 and copied down and across...
    =SUMIFS($D:$D,$A:$A,G$1,$B:$B,$F2)
    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
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Total values when another cell meet a certain criteria

    FDibbins

    How did you get the individuals cells to calculate?

    Im stuck on getting the total values for each race category

    If you could repost the excel worksheet with the formulas it would be awesome

    George

  4. #4
    Forum Contributor vamosj's Avatar
    Join Date
    04-23-2004
    Location
    Oregon
    MS-Off Ver
    2010
    Posts
    294

    Re: Total values when another cell meet a certain criteria

    Breakdown of Race & Gender


    =SUMIFS(D:D,A:A,"Male",B:B,"*White*")

    Breakdown of just Gender


    =SUMIF(A:A,"Male",D:D)



    the * in the gender portion allows for matching that within the cell instead of having the whole cell having to equal that.. So make sure when replacing that portion for the other races that the *'s stay on each end.
    Last edited by vamosj; 11-18-2013 at 05:54 PM.
    Janos S. Vamos
    Data Systems Technician/Fire Controlman PO1(SW/AW)
    US Navy Retired


    Remember, Record Macro can be your friend for figuring out solutions.

    Good or Bad, let me know how I did by clicking on the "Add Reputation" * just to the lower left of here. it only takes a few seconds to let someone know.

  5. #5
    Spammer
    Join Date
    02-04-2012
    Location
    Philippines
    MS-Off Ver
    Excel 2013
    Posts
    190

    Re: Total values when another cell meet a certain criteria

    or like this
    Attached Files Attached Files

  6. #6
    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
    53,049

    Re: Total values when another cell meet a certain criteria

    see the attached
    Attached Files Attached Files

  7. #7
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2021 for Mac
    Posts
    279

    Re: Total values when another cell meet a certain criteria

    Thanks FDibbins

  8. #8
    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
    53,049

    Re: Total values when another cell meet a certain criteria

    Happy to help and thanks for the feedback

+ 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. How to Run a Correlation of Values That Meet Particular Criteria
    By newnoise in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-01-2012, 07:58 PM
  2. Replies: 5
    Last Post: 09-06-2011, 10:44 AM
  3. Totalling up values that meet two criteria
    By johnmitch38 in forum Excel General
    Replies: 5
    Last Post: 06-04-2009, 05:49 AM
  4. [SOLVED] How do I get the total number of items that meet 2 criteria in Exc
    By Terri in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-28-2006, 05:55 PM
  5. Sum Total # Of Cells That Meet Several Criteria
    By ashstudly in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-23-2006, 02:00 AM

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