excel数字设置大写

三个方法,告诉你如何设置

方法一:设置单元格

excel数字设置大写插图

方法二:函数一,将其中A2单元格换成自己的

=IF(A2="","",IF(A2<0,"负",)&IF(INT(A2),TEXT(INT(ABS(A2)),"[dbnum2]")&"元",)&IF(INT(ABS(A2)*10)-INT(ABS(A2))*10,TEXT(INT(ABS(A2)*10)-INT(ABS(A2))*10,"[dbnum2]")&"角",IF(INT(ABS(A2))=ABS(A2),,IF(ABS(A2)<0.1,,"零")))&IF(ROUND(ABS(A2)*100-INT(ABS(A2)*10)*10,),TEXT(ROUND(ABS(A2)*100-INT(ABS(A2)*10)*10,),"[dbnum2]")&"分","整"))

 

方法三:函数二,将其中A2单元格换成自己的

=IF(A2<0,"负",)&SUBSTITUTE(SUBSTITUTE(TEXT(INT(ABS(A2)),"[dbnum2]")&"元"&SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(TEXT(RIGHT(TEXT(A2,".00"),2),"[dbnum2]0角0分"),"零角","零"),"零分","整"),"零整","整"),"零元零",),"零元",)

0

评论0

请先

没有账号? 注册  忘记密码?

社交账号快速登录

微信扫一扫关注
扫码关注后会自动登录网站
普人特福的博客cnzz&51la for wordpress,cnzz for wordpress,51la for wordpress