excel 数字自动变成大写,大写前需要加上合计(大写)

如题
2025-01-07 16:31:57
推荐回答(5个)
回答1:

  可以自定义格式:


  [DBNum2][$RMB]"合计(大写)"G/通用格式;[红色][DBNum2][$RMB]G/通用格式


  

回答2:

输入
="合计(大写)"&SUBSTITUTE(SUBSTITUTE(IF(A1>-0.5%,,"负")&TEXT(INT(FIXED(ABS(A1))),"[dbnum2]G/通用格式元;;")&TEXT(RIGHT(FIXED(A1),2),"[dbnum2]0角0分;;"&IF(ABS(A1)>1%,"整",)),"零角",IF(ABS(A1)<1,,"零")),"零分","整")
回车。

回答3:

="合计(大写)"&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,,"零")),"零分","整")

回答4:

=NUMBERSTRING(INT(G9/1)*1,2)&"元整"
G9修改为要大写的数的位置,后面元整也可以修改

回答5:

如图:
d1单元格公式为:
=text(c1,"[dbnum2][$-804]本年度合计(g/通用格式)元")
ok