+ Reply to Thread
Results 1 to 3 of 3

INDEX MATCH MATCH? VLOOKUP? XLOOPUP? Please help :)

  1. #1
    Registered User
    Join Date
    01-22-2020
    Location
    Glasgow
    MS-Off Ver
    Office 365
    Posts
    2

    Post INDEX MATCH MATCH? VLOOKUP? XLOOPUP? Please help :)

    Hello,

    I am trying to do what I had believed was a VLookup however the lookup needs to match the criteria of a date range.

    If it was a simple vlookup,

    value: Vessel Name
    table array: 'MASTER'!A1:H30
    col_index_num: 3 (i.e. the ID Number)
    and range: 0

    But the complication arises as the match needs to be added so the right ID number corresponding to the date is indexed i.e. the PSC Date needs to fall between the Start and End dates for it to return the correct ID number.

    Thanks!

    efWGWSVARGED.png
    Attached Files Attached Files
    Last edited by gthemans; 02-03-2021 at 10:55 AM.

  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: INDEX MATCH MATCH? VLOOKUP? XLOOPUP? Please help :)

    Administrative note

    Welcome to the forum

    in your haste to solve your problem, you probably missed the yellow banner advising how to get answers faster by posting a sheet ?

    Please take a moment to read it and attach a sheet accordingly.

    Thanks you for helping us help you

  3. #3
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,077

    Re: INDEX MATCH MATCH? VLOOKUP? XLOOPUP? Please help :)

    How about
    =FILTER(Table8[ID Number],(Table8[Vessel Name]=A2)*(Table8[StartDate]<=B2)*(Table8[EndDate]>=B2),"")

    Although there is only one match in that sample

+ 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. VBA function to match multiple criteria faster than vlookup or index match
    By bkav1991 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 11-09-2020, 09:14 AM
  2. Replies: 1
    Last Post: 08-22-2020, 04:47 PM
  3. [SOLVED] INDEX+MATCH instead of VLOOKUP+MATCH, why is INDEX a better choice and how to re-write?
    By Renejorgensen in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-23-2016, 10:54 AM
  4. Replies: 1
    Last Post: 06-18-2015, 08:45 AM
  5. Replies: 3
    Last Post: 05-19-2014, 02:01 PM
  6. Replies: 13
    Last Post: 12-13-2012, 11:44 AM
  7. Replies: 2
    Last Post: 03-16-2012, 12:03 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