Lookup less than a number

  • Thread starter Thread starter Rod
  • Start date Start date
R

Rod

Hello.

I would like to be able to do the equvivalent of:
look up a number in range MaxTermAvail and if the number is < the left value
then bring back the next col; something like

Vlookup (B2, if B7<the left value(MaxTermAvail), 2, false).

So, if B2=61 then the value returned should be 15, when
MaxTermAvail=
41 35
46 30
61 20
66 15
71 10

Thanks.
 
The left Col is the clients age. So, if <41 the the returned value should be
35; if >=71 then 0.
 
Assume your table is in the range G2:H6.

Try this:

=IF(B2<41,35,IF(B2>=71,0,INDEX(H2:H6,MATCH(B2,G2:G6)+1)))
 
Back
Top