大写金额转换规则

2020-11-01 体育 123阅读
如果你的金额在A1单元格,
=IF(A1=0,"",CONCATENATE(IF(INT(A1)=0,"",TEXT(INT(A1),"人民币
[DBNum2][$-804]G/通用格式元
")),IF(INT(MID(RIGHT(FIXED(A1,2,1),2),1,1))=0,IF(INT(MID(RIGHT(FIXED(A1,2,1)
,1),1,1))=0,"",IF(INT(A1)=0,"","零")),TEXT(INT(MID(RIGHT(FIXED(A1,2,1),2),1,
1)),"[DBNum2][$-804]G/通用格式角
")),IF(INT(MID(RIGHT(FIXED(A1,2,1),1),1,1))=0,"整
",TEXT(INT(MID(RIGHT(FIXED(A1,2,1),1),1,1)),"[DBNum2][$-804]G/通用格式分
"))))
复制上去就可以了
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com