Reverse VLOOKUP?

B

brett.kaplan

Is there a way to do a reverse vlookup? That is, instead of searching
top down for a matching field, it will search bottom up? This way, if
there are duplicate entries in the lookup array, it will find the last
one instead of the first?

I cannot resort the table since it is in a separate workbook that
someone else updates. I've considered adding a worksheet and linking
it to the other book with my top row being the other book's last, and
working it out that way, but is there a way to do it without adding a
sheet?

Thanks!
 
D

Dave Peterson

=LOOKUP(2,1/(A1:A999="yourvalue"),b1:b999)

(Make that 999 big enough to extend past the last possible row--but don't use
the whole column.)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

REVERSE VLOOKUP 3
VLOOKUP Issue??? 4
reverse VLOOKUP 4
Lookup nth entry 2
Vlookup "#REF!" error when using last column of array 4
Excel vba code to match duplicates 4
vlookup range 4
vlookup table_array 4

Top