reverse range lookup/VLOOKUP

J

Jon Turow

Is there a way to create a formula that functions the same
as =VLOOKUP(A1,My_Range,2,TRUE), except with vlookup's
range lookup finding the next *highest* number instead of
the next lowest?
 
H

Harlan Grove

Is there a way to create a formula that functions the same
as =VLOOKUP(A1,My_Range,2,TRUE), except with vlookup's
range lookup finding the next *highest* number instead of
the next lowest?

=INDEX(MyRange,MATCH(A1,INDEX(MyRange,0,1))+(VLOOKUP(A1,MyRange,1)<>A1),2)
 

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

Help With VLOOKUP 2
VLOOKUP & Data Validation 0
Vlookup Function 1
Vlookup error 1
Vlookup to reference offset 1
Vlookup and return sheet name also 2
HLOOKUP & VLOOKUP Combinded 4
VLOOKUP Not working 3

Top