+ Reply to Thread
Results 1 to 5 of 5

Sum values that match a specified value?

  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
    Forum Contributor GuruWannaB's Avatar
    Join Date
    01-24-2008
    Location
    An hour due East of Cowtown Ohio
    MS-Off Ver
    2010
    Posts
    421

    Re: Sum values that match a specified value?

    Try this:

    Please Login or Register  to view this content.
    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. It helps keep me motivated!



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

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

    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
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    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

+ Reply to Thread

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.6.0 RC 1