假如你需要在列A里输入小写金额在列B里出现大写金额:选中B1=A1回车然后右键B1---设置单元格式---数字----特殊----中文大写数字----确定然后把鼠标放到B1单元格的右下角,当鼠标变成实心的黑色的十字架的时候往下拉。然后你在A列里输入数字的时候B列自动变成大写。
IF(D18=0,"",CONCATENATE(IF(INT(D18)=0,"",TEXT(INT(D18),"[DBNum2]G/通用格式元")),IF(INT(MID(RIGHT(FIXED(D18,2,1),2),1,1))=0,IF(INT(MID(RIGHT(FIXED(D18,2,1),1),1,1))=0,"",IF(INT(D18)=0,"","零")),TEXT(INT(MID(RIGHT(FIXED(D18,2,1),2),1,1)),"[DBNum2]G/通用格式角")),IF(INT(MID(RIGHT(FIXED(D18,2,1),1),1,1))=0,"整",TEXT(INT(MID(RIGHT(FIXED(D18,2,1),1),1,1)),"[DBNum2]G/通用格式分"))))在要显示大写金额的单元格里粘贴上面的公式,其中D18应替换为你所输入小写数字的单元格我平时就用这个嘿 希望给你带来简便
=SUBSTITUTE(SUBSTITUTE(TEXT(TRUNC(FIXED(A1)),"[>0][dbnum2];[<0]负[dbnum2];;")&TEXT(RIGHT(FIXED(A1),2),"元[dbnum2]0角0分;;"&IF(ABS(A1)>1%,"元整",)),"零角",IF(ABS(A1)<1,,"零")),"零分","整")