【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>>
=IF(ROUND(F1,2)=0,"零元整",IF(F1<0,"负","")&IF(ABS(F1)>=1,TEXT(INT(ROUND(ABS(F1),2)),"[dbnum2]")&"元","")&SUBSTITUTE(SUBSTITUTE(TEXT(RIGHT(RMB(F1,2),2),"[dbnum2]0角0分;;整"),"零角",IF(F1^2<1,,"零")),"零分","整"))
将F1单元格的数据转换为大写金额(人民币)
来源:oschina
链接:https://my.oschina.net/u/135629/blog/56666