excel如何把大写的人民币数值去掉小数点,在另一个单元格显示大写金额,如图所示。

2024-12-11 21:52:05
推荐回答(1个)
回答1:

我的方法是从百度找到人民币大写的公式,改相应的地址直接应用的。您也可以试试。

=IF(K55=0,"",IF(INT(K55),TEXT(TRUNC(K55),"[dbnum2]")&"元","")&IF(MOD(K55,1)=0,"整",IF(TRUNC(K55,1),IF(K55=TRUNC(K55,1),TEXT(LEFT(RIGHT(K55*100,2)),"[dbnum2]0角整"),TEXT(RIGHT(K55*100,2),"[dbnum2]0"&IF(LEFT(RIGHT(K55*100,2))="0","","角")&"0分")),TEXT(K55*100,"[dbnum2]0分"))))

供参考,祝顺利。