+ Reply to Thread
Results 1 to 3 of 3

Vlookup for last found value

  1. #1
    Forum Contributor
    Join Date
    02-13-2017
    Location
    Belgium
    MS-Off Ver
    O365
    Posts
    105

    Vlookup for last found value

    Hi All,

    First off al, sorry for my bad English.
    My question :

    A Vlookup searches for the first hit with the lookup_value.
    Is there a possibility to search for the last hit with the lookup_value?

    For 15/02/2017 the value returned by the vlookup is 220.
    Is there a way to return 230 (the last hit for 15/02/2017)?
    Another formula? Vlookup? ...

    Capture.PNG

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Vlookup for last found value

    Try this
    =LOOKUP(2,1/(A2:A8=D1),B2:B8)

    v A B C D
    1 2/15/2017
    2 2/2/2017 100 230
    3 5/2/2017 500
    4 10/2/2017 600
    5 11/2/2017 700
    6 2/15/2017 200
    7 2/15/2017 220
    8 2/15/2017 230
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Contributor
    Join Date
    02-13-2017
    Location
    Belgium
    MS-Off Ver
    O365
    Posts
    105

    Re: Vlookup for last found value

    Thanx a lot!
    Last edited by jonas-martens; 02-20-2017 at 10:01 AM.

+ 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 only returns first found value
    By Gaellus in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-20-2016, 10:26 AM
  2. vlookup value not found
    By Ditch1983 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 2
    Last Post: 05-11-2015, 06:41 AM
  3. VLOOKUP - how to get last found matching value??
    By wnstar21 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-20-2013, 05:13 PM
  4. [SOLVED] VLookup if lookup_value is not found
    By jndipworm in forum Excel General
    Replies: 4
    Last Post: 07-09-2012, 06:47 PM
  5. [SOLVED] VLOOKUP - value not found HELP
    By tleilax in forum Excel General
    Replies: 3
    Last Post: 04-05-2012, 06:08 AM
  6. [SOLVED] vlookup not found
    By BadgerDave in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-11-2006, 10:35 AM
  7. Vlookup What if not Found
    By ssjody in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-24-2005, 10:10 AM

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