+ Reply to Thread
Results 1 to 2 of 2

Multi-criteria VLOOKUP

  1. #1
    Registered User
    Join Date
    11-29-2010
    Location
    Nashville
    MS-Off Ver
    2010
    Posts
    76

    Multi-criteria VLOOKUP

    Hi there,

    I'm seeking to figure out a VLOOKUP or alternative function to find a matching record that is between two date ranges, and also matches a sender and receiver name, returning a transaction ID.

    Source Data
    A | B | C
    Date | Sender | Recipient
    4-Apr | John | Sandy

    Lookup Data
    A | B | C | D | E
    Low Date Range | High Date Range | Sender | Recipient | Transaction ID
    3-Apr | 5-Apr | John | Sandy | ID 1
    6-Apr | 7-Apr | John | Sandy | ID 2
    3-Apr | 5-Apr | Albert | Sandy | ID 3

    In this case, ID 1 should be returned, because the date is between the Low and High Date Range, and John and Sandy Match Sender and Recipient respectively.

    Thanks for any help you can provide!

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Multi-criteria VLOOKUP

    Try

    =INDEX(Lookup!E2:E4,MATCH(Source!C2,IF(AND(Source!A2>=Lookup!A2:A4,Source!A2<=Lookup!B2:B4,Source!B2=Lookup!C2:C4),Lookup!D2:D4),1)
    Array formula, use Ctrl-Shift-Enter
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

+ 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. Large multi criteria / Vlookup/Choose Multi criteria
    By deanusa in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-20-2014, 01:48 AM
  2. Multi Criteria Vlookup
    By Dendrinos2 in forum Excel General
    Replies: 2
    Last Post: 11-03-2011, 01:45 AM
  3. VLookup multi criteria.
    By noodles1984 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-05-2010, 05:53 PM
  4. How do I do multi VLOOKUP's based on certain criteria per cell?
    By bj in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-06-2005, 04:05 AM
  5. How do I do multi VLOOKUP's based on certain criteria per cell?
    By Milky_UK in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM
  6. [SOLVED] How do I do multi VLOOKUP's based on certain criteria per cell?
    By Milky_UK in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. [SOLVED] How do I do multi VLOOKUP's based on certain criteria per cell?
    By Milky_UK in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. How do I do multi VLOOKUP's based on certain criteria per cell?
    By Milky_UK in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-17-2005, 01: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