+ Reply to Thread
Results 1 to 3 of 3

Lookup multiple values in multiple columns and return value

  1. #1
    Registered User
    Join Date
    07-22-2010
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    13

    Lookup multiple values in multiple columns and return value

    Hi Everybody

    I have attached a part of my workbook.

    In "Ark1" i would like a formula in Column "C". Ex: C2 should look on A2 and B2 and find the exact matches in "Ark2!A:B" and return value from the "Ark2 - C" column on the matching row.

    Does this make any sense at all?

    Hope you guys can help me!

    Regards
    Mads
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Lookup multiple values in multiple columns and return value

    Try:

    =SUMIFS(Ark2!C:C,Ark2!A:A,A2,Ark2!B:B,B2)

    if there are multiple matches, the results will be summed, if that is not what you want let me know.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

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

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Lookup multiple values in multiple columns and return value

    Hi,

    This would be easier if you had Excel 2007 since you could use SUMIFS.

    Use a helper column D on Ark2 and concatenate the A&B cells. e.g. =A2&B2

    Then in C2 on Ark1 and copied down use
    Please Login or Register  to view this content.
    Wrap it in an =IF(ISERROR(formula above),"",formula above) if you wish to avoid '#N/A's

    HTH
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

+ 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