Hi,
Try,
If your data are in A1:A10 then,
=INDEX($A$2:$A$10,MATCH(C2,$A$2:$A$10,0)+1)
where C2 houses the code
HTH
--
Krishnakumar
------------------------------------------------------------------------
Krishnakumar's Profile:
http://www.excelforum.com/member.php...o&userid=20138
View this thread:
http://www.excelforum.com/showthread...hreadid=394140