作业帮 > 综合 > 作业

excel数字转大写,精确到小数点两位,大写精确到角,分,不要四舍五入的

来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/11 03:18:47
excel数字转大写,精确到小数点两位,大写精确到角,分,不要四舍五入的
excel数字转大写,精确到小数点两位,大写精确到角,分,不要四舍五入的
=TEXT(TRUNC(A1),"[dbnum2]")&"元"&TEXT(MOD(A1,1)*100,"00[dbnum2]")&"分"
或者
=SUBSTITUTE(TEXT(TRUNC(A1),"[dbnum2]")&"元"&SUBSTITUTE(TEXT(MOD(A1,1)*10,"0角[dbnum2]"),"零角","零")&SUBSTITUTE(TEXT(MOD(A1,0.1)*100,"0分[dbnum2]"),"零分","整"),"零整","整")