+ Reply to Thread
Results 1 to 8 of 8

Lookup with multiple match criteria

  1. #1
    Registered User
    Join Date
    01-30-2020
    Location
    UK
    MS-Off Ver
    MS 2013
    Posts
    3

    Lookup with multiple match criteria

    Hello! First time posting as I am really stuck with where to go with this formula..

    I have attached a watered down version of the spreadsheet I'm working on, but essentially what I'm trying to do is "match the entity code with the range and match "TOTAL REVENUE" with the range then do a lookup on the date and bring back the revenue for that entity on that date.

    I've left the formula I tried out in cell Sheet 1!E6 however this is bringing back the wrong value.

    Thanks in advance!
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Lookup with multiple match criteria

    Try this in F6 and pull down =SUMPRODUCT((Sheet2!$B$5:$B$16=Sheet1!$C$5)*(Sheet2!$C$5:$C$16=Sheet1!$E$5)*INDEX(Sheet2!$D$5:$H$16,,MATCH(Sheet1!$B6,Sheet2!$D$5:$H$5,0)))

  3. #3
    Registered User
    Join Date
    01-30-2020
    Location
    UK
    MS-Off Ver
    MS 2013
    Posts
    3

    Re: Lookup with multiple match criteria

    It works! Thanks for your help

  4. #4
    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 with multiple match criteria

    ...another way in F6

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    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.

  5. #5
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Lookup with multiple match criteria

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  6. #6
    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 with multiple match criteria

    ...You might also find a Pivot Table a more flexible and useful solution - see attached.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-30-2020
    Location
    UK
    MS-Off Ver
    MS 2013
    Posts
    3

    Re: Lookup with multiple match criteria

    Thanks for both your responses!

  8. #8
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,291

    Re: Lookup with multiple match criteria

    Another option with the formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

+ 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. [SOLVED] Lookup/Index match with multiple criteria
    By Wayne1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-19-2019, 04:59 PM
  2. [SOLVED] Lookup to match multiple criteria and return multiple results excluding duplicates.
    By kris3012 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 01-13-2018, 11:06 AM
  3. Index Match with multiple criteria (two lookup columns)
    By jason4444 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-09-2016, 03:30 PM
  4. Lookup Multiple Criteria using Index-Match in VBA
    By ykobure in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-21-2015, 01:41 AM
  5. [SOLVED] lookup match with multiple criteria
    By Bobsone in forum Excel General
    Replies: 5
    Last Post: 11-08-2014, 07:43 PM
  6. Replies: 3
    Last Post: 03-25-2012, 12:56 AM
  7. Multiple Criteria Lookup/Match/Index
    By Kasz in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-15-2011, 09:30 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