+ Reply to Thread
Results 1 to 6 of 6

INDEX and MATCH - return value even though not all criteria are met

  1. #1
    Registered User
    Join Date
    12-22-2023
    Location
    Denmark
    MS-Off Ver
    365
    Posts
    48

    INDEX and MATCH - return value even though not all criteria are met

    Hi,
    I'm using below formula to make lookup with multiple criteria.


    Formula: copy to clipboard
    Please Login or Register  to view this content.



    As you can see from below picture I have 4 criteria that are being matched on a sheet called "Proxy".
    In this example location is "London". However, on the "Proxy" sheet most of the times location is BLANK. Therefore, the formula returns nothing. Is there a way to make the formula return a result even though location has a value but the reference sheet does not?

    Screenshot 2024-03-25 104521.png

    Sample attached.

    Thanks
    Thomas
    Attached Files Attached Files

  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,919

    Re: INDEX and MATCH - return value even though not all criteria are met

    Try this:

    =IFNA(INDEX(Proxy!$H$1:$H$2319,MATCH(1,(E4=Proxy!$D$1:$D$2319)*(F4=Proxy!$C$1:$C$2319)*("Product Development"=Proxy!$B$1:$B$2319)*(G4=Proxy!$E$1:$E$2319)*(IF(Proxy!$F$1:$F$2319="",1,H4=Proxy!$F$1:$F$2319)),0)),"")
    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 rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: INDEX and MATCH - return value even though not all criteria are met

    Since you have 365, you could also use something like:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    If you know there will only ever be one match (or none) you could omit the TAKE function.
    Rory

  4. #4
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: INDEX and MATCH - return value even though not all criteria are met

    Could also use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    12-22-2023
    Location
    Denmark
    MS-Off Ver
    365
    Posts
    48

    Re: INDEX and MATCH - return value even though not all criteria are met

    This did the job! Thanks AliGW!

  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,919

    Re: INDEX and MATCH - return value even though not all criteria are met

    Glad to have helped.

    If you have not already done so, remember that you can reward anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) 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 each of those who offered help.

+ 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 criteria but want a different cell as return value
    By thematrix05 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2023, 02:37 PM
  2. Index/Match Help to return value based on 2 criteria
    By klkenny in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 06-20-2018, 10:28 PM
  3. [SOLVED] Combining 3 Formulas: Return all Names that Match Criteria Using Index/Match
    By bchilme in forum Excel Formulas & Functions
    Replies: 20
    Last Post: 09-29-2014, 09:28 AM
  4. [SOLVED] INDEX MATCH trying to return a value between two criteria.
    By cyberkidkiller in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-19-2014, 09:48 AM
  5. [SOLVED] Using Index Match with a Criteria to return a minimum
    By david0985 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-18-2014, 12:59 PM
  6. Index Match using two criteria to return on of criteria values
    By RogueLeader in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-17-2014, 09:50 AM
  7. Replies: 1
    Last Post: 11-06-2013, 08:37 PM

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