View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
NBVC[_104_] NBVC[_104_] is offline
external usenet poster
 
Posts: 1
Default LOOKUP FORMULA - USING THRESHOLDS - HELP


or even more simple:

=LOOKUP(A1,B1:C100)


Niek Otten;417753 Wrote:
Note that with a slight change in your data layout you could have used
a
much simpler formula:

0 1
18 2
54 3
90 4
etc.

Your formula in that case:

=VLOOKUP(A1,B1:C100,2)

--
Kind regards,

Niek Otten
Microsoft MVP - Excel


"txm49" wrote in message
...
Perfect! Thank you!

"NBVC" wrote:


Try:

=INDEX($C$2:$C$18,MATCH(TRUE,INDEX($B$2:$B$18=A2, 0),0))

adjust ranges to suit.


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)

------------------------------------------------------------------------
NBVC's Profile: 'The Code Cage Forums - View Profile: NBVC'

(http://www.thecodecage.com/forumz/members/nbvc.html)
View this thread:
'LOOKUP FORMULA - USING THRESHOLDS - HELP - The Code Cage Forums'

(http://www.thecodecage.com/forumz/sh...d.php?t=116195)




--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=116195