+ Reply to Thread
Results 1 to 4 of 4

Match and Sum Cell References

  1. #1
    Registered User
    Join Date
    09-12-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    44

    Match and Sum Cell References

    Hello all! I need a formula that looks in Column A for a match to the contents of cell A1. There will be multiple matches in the column. For each match found I would like excel to sum the contents of each respective cell in column B. Example posted.
    Attached Files Attached Files
    Last edited by mightyeskimo; 10-07-2011 at 02:41 PM.

  2. #2
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Match and Sum Cell References

    mightyeskimo,

    Give this a try:
    =SUMPRODUCT(--($A$1:$A$6=A1),$B$1:$B$6)
    Hope that helps,
    ~tigeravatar

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

  3. #3
    Forum Expert tigeravatar's Avatar
    Join Date
    03-25-2011
    Location
    Colorado, USA
    MS-Off Ver
    Excel 2003 - 2013
    Posts
    5,361

    Re: Match and Sum Cell References

    mightyeskimo,

    Alternate version:
    =SUMIF($A$1:$A$6,A1,$B$1:$B$6)

  4. #4
    Registered User
    Join Date
    09-12-2010
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    44

    Re: Match and Sum Cell References

    Thanks very much!

+ 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