+ Reply to Thread
Results 1 to 10 of 10

Index Match formula does not look-up/display data all the time.

  1. #1
    Registered User
    Join Date
    11-11-2014
    Location
    Manila, Philippines
    MS-Off Ver
    2010
    Posts
    8

    Index Match formula does not look-up/display data all the time.

    I'm basically making a spreadsheet that displays the employees that will be on any off-phone activity at any given 15 minute interval. I initially tried a variation of VLOOKUP but I ended up getting duplicated results so I researched and found INDEX MATCH.

    Initially, it worked great.

    Until I discovered that it doesn't display the data all the time.

    I'd select an interval that I can see has off phone activity but it won't display the names or the activity. Swapping the interval/time with a letter fixes it in the interim but that's it. I tried displaying it in one spreadsheet and in smaller increments (broken up in four hour chunks, currently) but it really hasn't resolved the issue.

    And I maybe using Google wrong but it hasn't helped either.

    Sheet 4 contains the super-simplified data sheet.

    When it works:
    Works.png


    When it does not work:
    Notwork0.png
    Notwork1.png

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Index Match formula does not look-up/display data all the time.

    your working is accurate but the DV is not exactly the same

    14:30 in shows
    in C4 = 0.604166666666666
    in column I = 0.604166666666667

    i rejigged your file so 14:30 works
    Attached Files Attached Files
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert azumi's Avatar
    Join Date
    12-10-2012
    Location
    YK, Indonesia
    MS-Off Ver
    Excel 2019
    Posts
    2,368

    Re: Index Match formula does not look-up/display data all the time.

    Another approach:

    =IFERROR(INDEX(J$2:J$124,SMALL(IF(TIME(HOUR($I$2:$I$124),MINUTE($I$2:$I$124),1)=TIME(HOUR($C$4),MINUTE($C$4),1),ROW(J$2:J$124)-ROW(J$2)+1),ROWS($A$1:A1))),"")

  4. #4
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Index Match formula does not look-up/display data all the time.

    Quote Originally Posted by humdingaling View Post
    your working is accurate but the DV is not exactly the same

    14:30 in shows
    in C4 = 0.604166666666666
    in column I = 0.604166666666667

    i rejigged your file so 14:30 works
    Great catch, humdingaling!

  5. #5
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Index Match formula does not look-up/display data all the time.

    thanks Flame

  6. #6
    Registered User
    Join Date
    11-11-2014
    Location
    Manila, Philippines
    MS-Off Ver
    2010
    Posts
    8

    Re: Index Match formula does not look-up/display data all the time.

    Wait, whut? It was that simple? A matter of decimals?

    Good gracious diety. >_< I'm going to have to make a macro for that or something. T_T

    Much thanks from me to you, ser. That explains it.

  7. #7
    Registered User
    Join Date
    11-11-2014
    Location
    Manila, Philippines
    MS-Off Ver
    2010
    Posts
    8

    Re: Index Match formula does not look-up/display data all the time.

    Edited the content since I couldn't delete the comment. >_<

    Total noob fail.
    Last edited by iceandfire; 11-18-2014 at 06:37 AM.

  8. #8
    Registered User
    Join Date
    11-11-2014
    Location
    Manila, Philippines
    MS-Off Ver
    2010
    Posts
    8

    Re: Index Match formula does not look-up/display data all the time.

    Quote Originally Posted by azumi View Post
    Another approach:

    =IFERROR(INDEX(J$2:J$124,SMALL(IF(TIME(HOUR($I$2:$I$124),MINUTE($I$2:$I$124),1)=TIME(HOUR($C$4),MINUTE($C$4),1),ROW(J$2:J$124)-ROW(J$2)+1),ROWS($A$1:A1))),"")
    I'm asking a stupid question, if I may.

    How exactly does your proposed string works?

    Thank you.

  9. #9
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Index Match formula does not look-up/display data all the time.

    using time in excel is finicky

    azumi's method breaks down data and DV to be exact time comparison
    so you are comparing apples to apples

  10. #10
    Registered User
    Join Date
    11-11-2014
    Location
    Manila, Philippines
    MS-Off Ver
    2010
    Posts
    8

    Re: Index Match formula does not look-up/display data all the time.

    Yeah, @humdingaling. I ended up using what you taught and part of @azumi's formula (TIME). Ended up with two extra columns but I've got the spreadsheet that I want. ^_^

    Thanks much for the assist.

+ 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. vlookup, index/match formula factoring in time(days) and IF formula
    By rishijain11 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-08-2014, 06:37 PM
  2. Replies: 3
    Last Post: 05-02-2013, 01:31 AM
  3. [SOLVED] Vlookup & Hlookup at same time - Why is this Index+Match formula not working
    By fabrice.usa in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2012, 06:46 PM
  4. [SOLVED] How do I display more than one match in a Index/Match formula?
    By Trish in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-26-2005, 06:05 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