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: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=116195