+ Reply to Thread
Results 1 to 8 of 8

Lookup with Multiple Criteria

  1. #1
    Registered User
    Join Date
    02-12-2019
    Location
    West Yorkshire, UK
    MS-Off Ver
    2013
    Posts
    12

    Lookup with Multiple Criteria

    Hi All,

    So I'm good with Index Match Match. However I've hit a tough spot with something a little bit different.

    I've included an example of what i'm after. I just want to look up a date, with that date it'll either be a day or night shift(so I have to break it down again there), and then I want to look up a name and then i'll have the information from the intersecting cells.

    Can it done? Do I have to try something different?
    Attached Files Attached Files
    Last edited by AliGW; 02-21-2019 at 08:26 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,794

    Re: Index Match Match Match????

    Please take a moment to re-read forum rule #1 and then amend your thread title to something that better explains your problem. Changing your thread title is not optional, which means you must change it. Thanks!

    • Use concise, accurate thread titles.
    • Your post title should describe your problem, not your anticipated solution.
    • Use terms appropriate to a Google search - poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice tell us nothing.
    • Responding to a request to change your thread title by doing so is mandatory.

    To change a title go to your first post, click EDIT then Go Advanced and change your title.

    NAs you have fewer than 10 posts, I will help you out this time. Next time, you must provide a better title yourself. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Lookup with Multiple Criteria

    Try a double INDEX- MATCH: =INDEX($C$2:$F$21,MATCH($I$1&I2,INDEX($A$2:$A$21&$B$2:$B$21,0),0),MATCH($I$3,$C$1:$F$1,0))
    Click the * to say thanks.

  4. #4
    Registered User
    Join Date
    02-12-2019
    Location
    West Yorkshire, UK
    MS-Off Ver
    2013
    Posts
    12

    Re: Index Match Match Match????

    I do apologise. I'll ensure I do this next time.

    Thank you

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,794

    Re: Lookup with Multiple Criteria

    What result are you expecting in the yellow box?

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,794

    Re: Index Match Match Match????

    Try this:

    =IFERROR(1/(1/INDEX($C$2:$F$21,MATCH(I1,$A$2:$A$21,0)+IF(I2="Night",1,0),MATCH(I3,$C$1:$F$1,0))),"")

    Merged cells are a no-no!!!

  7. #7
    Registered User
    Join Date
    02-12-2019
    Location
    West Yorkshire, UK
    MS-Off Ver
    2013
    Posts
    12

    Re: Index Match Match Match????

    =IF(ISBLANK(INDEX($C$2:$F$21,MATCH(I1,$A$2:$A$21,0)+IF(I2="Night",1,0),MATCH(I3,$C$1:$F$1,0))),"",INDEX($C$2:$F$21,MATCH(I1,$A$2:$A$21,0)+IF(I2="Night",1,0),MATCH(I3,$C$1:$F$1,0)))

    Thank you all
    Last edited by AliGW; 02-21-2019 at 09:05 AM.

  8. #8
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,794

    Re: Lookup with Multiple Criteria

    What do you mean got you close? In what way does my formula fail?

    You still need to stop using merged cells - they are more trouble than they are worth.

+ 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] Index/Match with 2 match columns, non-exact match
    By c1t in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-25-2019, 08:23 AM
  2. Replies: 7
    Last Post: 07-13-2018, 09:25 AM
  3. Replies: 5
    Last Post: 02-18-2017, 11:21 AM
  4. INDEX MATCH MATCH/OFFSET MATCH MATCH with named ranges
    By Andrew-Mark in forum Excel General
    Replies: 3
    Last Post: 02-27-2015, 10:56 PM
  5. Replies: 6
    Last Post: 04-30-2014, 02:42 AM
  6. [SOLVED] Index/Match/Match....Stops without completing the match
    By irsles in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-14-2012, 10:16 PM
  7. Replies: 5
    Last Post: 02-29-2012, 08:51 PM

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