+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    10-09-2009
    Location
    Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    2

    Sum values that match a specified value?

    Is there a function that will look through a column of data (eg column A), find any cells that match another specified cell (eg C1) and sum the values of the corresponding cells in column B next to the matched cell?

    I know that's confusing, let me use any example:

    A__________B__________C
    _____________________AAPL
    AAPL_______25
    CMI________30
    INTU_______40
    MON________5
    AAPL_______100
    EBAY________60

    So, I want the function to look through the list in column A and return the sum of the values that match the specified value (AAPL in column C). So here, the answer would be 125 (25+100).

    Thank you very much for your help and please respond with questions if you don't understand what I am asking!

    Cole

  2. #2
    Valued Forum Contributor GuruWannaB's Avatar
    Join Date
    01-24-2008
    Location
    55 miles S.E. of the Buckeye Capital!! Go BUCKS!!
    MS-Off Ver
    2003
    Posts
    382

    Re: Sum values that match a specified value?

    Try this:

    Code:
    =SUMIF(A2:A7,"="&C1,B2:B7)


    I help because of the Pavlovian dog that resides in the inner me...so if you are happy with the results, please add to my reputation by clicking the blue scales icon in the upper right portion of the blue bar of the post. It helps keep me motivated!



    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Valued Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2007
    Posts
    332

    Re: Sum values that match a specified value?

    Hi...in excel 2007 that would be
    =SUMIFS(B2:B7,A2:A7,C1)

    I don't have access to earlier versions, so I'm not sure if that function even existed prior. I'll check and see if I can find out!

  4. #4
    Valued Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2007
    Posts
    332

    Re: Sum values that match a specified value?

    GuruWannaB beat me to it, again, and with a more appropriate solution - good luck!

  5. #5
    Registered User
    Join Date
    10-09-2009
    Location
    Minnesota
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Sum values that match a specified value?

    Thank you both! Worked perfectly. Thanks!

    Cole

Thread Information

Users Browsing this Thread

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

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.2.0