楼主可以用这个公式试试:
假设小写金额在A列,在B1写入公式后向下复制
=IF(A1<0,"金额为负无效",IF((A1=0),"零元整",IF(A1<1,"",TEXT(INT(A1),"[dbnum2]G/通用格式"&"元")&IF(INT(A1*10)-INT(A644)*10=0,"",""))&IF(AND((INT(A1*100)-INT(A1*10)*10)<>0,(INT(A1*10)-INT(A1)*10)=0),"零",IF((INT(A1*10)-INT(A1)*10)=0,"",TEXT(INT(A1*10)-INT(A1)*10,"[dbnum2]G/通用格式"&"角")))&IF((INT(A1*100)-INT(A1*10)*10)=0,"整",TEXT(INT(A1*100)-INT(A1*10)*10,"[dbnum2]G/通掘游用格式"&"分"))))
当A1中输入“123456789”时B1显示“壹亿判穗销贰仟叁佰肆拾伍万陆仟柒佰捌拾玖元整”,当A1中输入“0”或者空白时B1显示“零元整”
公式较长,建议楼主直接复制使族春用。