Excel如何把阿拉伯数字自动转换成大写金额(含元角分)


1、打开需芹虚此要操作的excel表格嫌迅,首先在A1单元格内输入需要转换成大写金额的数字,例如数字“879”。

2、然后在B1单元格内输入“=”符号,用来引用计算数值的单元格。

3、继续输入完整的转换公式:

=SUBSTITUTE(SUBSTITUTE(IF(-RMB(A1,2),TEXT(A1,";负")&TEXT(INT(ABS(A1)+0.5%),"

[dbnum2]G/通用格式元;;")&TEXT(RIGHT(RMB(A1,2),2),"[dbnum2]0角0分;;整"),),"零

角",IF(A1^2<1,,"零")),"零分","整")。

4、最后点击回车按键,即可生成公式的誉改计算结果:数字“879”被转换成为“捌佰柒拾玖元整”。


选中所有需要使用大写数字的单元格,单击鼠标右键,在链塌弹出的快捷菜单中执行“设置瞎唤雹单元格格式”命令,在弹出的“单元格格式”对话框中选择“数字”选项卡,在“分类”列表框中选择“特殊”选项,然后在右侧的“类别”列表框中选中“人磨帆民币大写”,单击“确定”按钮。


方法一:右键单元格,设置单元格格式-数字-特殊-中文大写数字

方法二:左键单元格,在上拆迹方输入栏输仔烂入以下文本=SUBSTITUTE(SUBSTITUTE(IF(A1<0,"负","")&TEXT(TRUNC(ABS(ROUND(A1,2))),"[DBNum2]")&"元"&IF(ISERR(FIND(".",ROUND(A1,2))),"",TEXT(RIGHT(TRUNC(ROUND(A1,2)*10)),"[DBNum2]"))&IF(ISERR(FIND(".0",TEXT(A1,"0.00"))),"角","")&IF(LEFT(RIGHT(ROUND(A1,2),3))=".",TEXT(RIGHT(ROUND(A1,2)),"[DBNum2]")&"分",IF(ROUND(A1,2)=0,"","整")),"零元零",""),"零元念御漏","")
你选中要改成大写单元,右击选择设置单元格格式,然后选择数字,在数字选项宽码悄中选择特殊,特殊项中慎渣选择中文大写数字就可以模汪了。
别人的,你试试...
=SUBSTITUTE(SUBSTITUTE(IF(A1<0,"负纯轿","")&TEXT(TRUNC(ABS(ROUND(A1,2))),"[DBNum2]")&"元"&IF(ISERR(FIND(".",ROUND(A1,2))),"",TEXT(RIGHT(TRUNC(ROUND(A1,2)*10)),"[DBNum2]"))&IF(ISERR(FIND(".0",TEXT(A1,"0.00"))),"角","")&IF(LEFT(RIGHT(ROUND(A1,2),3))=".",TEXT(RIGHT(ROUND(A1,2)),"[DBNum2]")&"分",IF(ROUND(A1,2)=0,"","整")),"模裤唤零元零"旦凯,""),"零元","")