+ Reply to Thread
Results 1 to 5 of 5

Looking for LOOKUP function that return the last matching value

  1. #1
    Registered User
    Join Date
    03-03-2022
    Location
    Perth, Western Australia
    MS-Off Ver
    2007
    Posts
    13

    Looking for LOOKUP function that return the last matching value

    Hello,

    Is there any function such as Vlookup that return the last matching value?

    There is nothing that I find that can easily do that..

    Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,930

    Re: Looking for LOOKUP function that return the last matching value

    Try this in C2 and copied down.
    =LOOKUP(2,1/($H$2:$H$1000=A2),$M$2:$M$1000)

  3. #3
    Registered User
    Join Date
    03-03-2022
    Location
    Perth, Western Australia
    MS-Off Ver
    2007
    Posts
    13

    Re: Looking for LOOKUP function that return the last matching value

    Thank you.
    It works well, now I have to try to understand the formula LOOKUP better as I did look at using it previously.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2505 (Windows 11 Home 24H2 64-bit)
    Posts
    91,162

    Re: Looking for LOOKUP function that return the last matching value

    Are you still using Excel 2007?
    Last edited by AliGW; 09-05-2023 at 02:30 AM.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  5. #5
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,930

    Re: Looking for LOOKUP function that return the last matching value

    You are welcome.

+ 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] Lookup with Matching with return and count for
    By Kenny Yip in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-25-2022, 02:55 AM
  2. [SOLVED] Lookup to return value above matching criteria
    By Spoonman667 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-28-2021, 02:12 AM
  3. [SOLVED] Excel to return lookup value besides the first matching value
    By MiniP in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-07-2021, 10:08 PM
  4. V lookup to return hyperlink not matching
    By esaji in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-22-2020, 07:00 AM
  5. [SOLVED] Partial Url Lookup and Return Matching Value from List
    By Excell1677 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 05-30-2019, 05:54 PM
  6. [SOLVED] Lookup matching Value and return name
    By Montoro22 in forum Excel General
    Replies: 5
    Last Post: 07-24-2012, 11:09 AM
  7. Lookup one table and return matching vaule
    By Tcanitbe in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-03-2012, 04:51 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