Hi,
I'm not an expert but how about something like this:
=IF(AND(CODE(UPPER(A2))=65,CODE(UPPER(A2))<=69),B 2*(CODE(UPPER(A2))-63),"")
this formula will use the CODE function to determine if A2 contains an
A, B, C or D...if it finds one of those letters then it will multiply
B2 by CODE value of the letter minus 63.
HTH
JG
--
pinmaster
------------------------------------------------------------------------
pinmaster's Profile:
http://www.excelforum.com/member.php...fo&userid=6261
View this thread:
http://www.excelforum.com/showthread...hreadid=488255