+ Reply to Thread
Results 1 to 3 of 3

Pull Latest Date 2 Criteria Lookup

  1. #1
    Forum Contributor
    Join Date
    02-20-2007
    MS-Off Ver
    2003 & 2007
    Posts
    299

    Pull Latest Date 2 Criteria Lookup

    I need to pull the "relevant" date from a table. The formula will need to be able to handle 2 criteria (1 other besides date). By relevant I mean the latest date available up to that point. I have attached an ex.

    if the lookup table has both 1/15/2014 and 2/15/2014. I'd like to feed a formula a date (and a text string). If I feed the formula 1/31/2014, it would bring back the record associated with 1/15. If i feed it 2/21, it brings back record with 2/15. I hope i make sense. All help is very much apprciated.
    Attached Files Attached Files

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

    Re: Pull Latest Date 2 Criteria Lookup

    Put in D16:

    =INDEX($D$4:$D$13,MATCH(1,($C$4:$C$13=$B16)*($B$4:$B$13<=$C16),0))

    and press CTRL-SHIFT-ENTER button together and copied down
    Attached Files Attached Files

  3. #3
    Forum Expert Vikas_Gautam's Avatar
    Join Date
    06-04-2013
    Location
    Ludhiana,Punjab, India
    MS-Off Ver
    Excel 2013
    Posts
    1,850

    Re: Pull Latest Date 2 Criteria Lookup

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


    Non Array Solution..
    Last edited by JBeaucaire; 08-29-2014 at 12:14 PM.

+ 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] Pull Latest Date for a Product
    By janeml in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-16-2014, 12:04 PM
  2. 3 Way Lookup with Latest Date
    By lukeyboy103 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-06-2014, 12:40 PM
  3. Excel 2007 : Lookup a value and return the latest date
    By pinkshirt in forum Excel General
    Replies: 4
    Last Post: 07-04-2011, 06:13 AM
  4. Lookup Latest Date Using Multiple Criteria
    By maggioant in forum Excel General
    Replies: 2
    Last Post: 01-26-2010, 04:32 AM
  5. Pull latest date data - ignore the rest
    By dallin in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-09-2006, 02:45 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