Use this in the cell where you've been trying the IF():
=MOD(CODE(A1),64)
or
=CODE(A1)-64
--
Cutter
------------------------------------------------------------------------
Cutter's Profile:
http://www.excelforum.com/member.php...fo&userid=9848
View this thread:
http://www.excelforum.com/showthread...hreadid=478567