2005-04-18 09:10:08酷仔♫° 瘋 

0418_EXCEL

=IF(LEN(A2)=3,LEFT(A2,1),LEFT(A2,2))&IF(B2="男","先生","小姐")

=MID(C2,2,2)

=MID(D4,FIND("市",D4,1)-2,3)

=MID(D2,FIND("縣",D2,1)-2,3)

文字函數: 邏輯函數:
LEFT      IF
RIGHT      AND
MID             OR
FIND
LEN