+ Reply to Thread
Results 1 to 3 of 3

Index/Match with 2 Criteria Not Working

  1. #1
    Registered User
    Join Date
    01-22-2022
    Location
    Florida
    MS-Off Ver
    MS Office 2016
    Posts
    1

    Index/Match with 2 Criteria Not Working

    Hello all,

    I have an excel sheet I am working where I am trying to match the room number and check-in date to the person who cleaned it. On sheet 'Medallia' the two matching criteria are found in columns A and B and will populate the response in column H. Sheet 'Cleaner' will match to room number and date and return the housekeepers name.

    I've tried using index and match and for some reason I can not get it to return a value. I know that it should as I've tried multiple rows and I know a match exists. Any help you can provide will definitely be appreciated!

    Thanks
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    10-02-2020
    Location
    Indonesia
    MS-Off Ver
    365
    Posts
    4

    Re: Index/Match with 2 Criteria Not Working

    Because in sheet CLEANER's column date stored as DATE+TIME format (equal to xxxxx.xxx) while in sheet MEDALIA date values stored only in DATE format (equal to xxxxx.00).
    Excel store date as number (integer) and it's time as decimal which is 24 hr is 1.
    So you have to convert CLEANER date value with formula something like INT or QUOTIENT to get it's number only without decimal = DATE only.

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,036

    Re: Index/Match with 2 Criteria Not Working

    Even that is not the entire answer... as row 2 still gives a #N/A. I suspect you need this:

    =INDEX(Cleaner!$C$2:$C$9000,MATCH(1,INDEX((Cleaner!$A$2:$A$9000=Medallia!A2)*(Cleaner!$B$2:$B$9000>=Medallia!B2),0),0))

    My guess is that the dates in Cleaner column B are "starting from" date times.

    NEXT time, please read the yellow banner about sample sheets. A sample with 8193 rows ever so slightly exceeds our guide of 10 to 20 rows. Not only are 9000 rows simply unnecessary, it is too much to expect anyone to manually check results in such a mass of data.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

+ 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. INDEX MATCH over multiple criteria not working
    By clemetti in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-15-2020, 10:56 AM
  2. [SOLVED] Index match with 3 criteria not working
    By yarlachiru in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-12-2020, 02:07 AM
  3. Single Criteria Index Match with concatenated criteria NOT WORKING
    By hassanleo1987 in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 04-26-2017, 12:28 AM
  4. [SOLVED] Use Index/Match to return a value based on two criteria? Not working for me...
    By ralldredge in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-18-2015, 02:42 PM
  5. [SOLVED] Index and Match for 4 Criteria - My 2 attempts are not working
    By denise001 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-05-2013, 01:55 PM
  6. [SOLVED] Index Match Multiple Criteria not working
    By garciapliz in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-22-2013, 12:07 PM
  7. [SOLVED] INDEX/MATCH not working for multiple criteria
    By lukesanborn in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-27-2012, 09:20 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