养生 装修 购物 美食 感冒 便秘 营销 加盟 小吃 火锅 管理 创业 搭配 减肥 培训 旅游

excel与wps通用的罗马数字转中文大写公式

时间:2024-11-13 00:10:18

=IF(ROUND(C20,闸拊福律2)<0,"无效数值",IF(ROUND(C20荑樊综鲶,2)=0,"零元",IF(ROUND(C20,2)<1,"",TEXT(INT(ROUND(C20,2)),"[dbnum2]")&"元")&IF(INT(ROUND(C20,2)*10)-INT(ROUND(C20,2))*10=0,IF(INT(ROUND(C20,2))*(INT(ROUND(C20,2)*100)-INT(ROUND(C20,2)*10)*10)=0,"","零"),TEXT(INT(ROUND(C20,2)*10)-INT(ROUND(C20,2))*10,"[dbnum2]")&"角")&IF((INT(ROUND(C20,2)*100)-INT(ROUND(C20,2)*10)*10)=0,"整",TEXT((INT(ROUND(C20,2)*100)-INT(ROUND(C20,2)*10)*10),"[dbnum2]")&"分")))

方法/步骤

1、选择一个需要引用的数字单元格

2、选择一个需要中文大写的单元格

3、在需要中文大写的单元格输入=IF(ROUND(C20,2)<0,"磕聆霖麸无效数值",IF(ROUND(C20,婷钠痢灵2)=0,"零元",IF(ROUND(C20,2)<1,"",TEXT(INT(ROUND(C20,2)),"[dbnum2]")&"元")&IF(INT(ROUND(C20,2)*10)-INT(ROUND(C20,2))*10=0,IF(INT(ROUND(C20,2))*(INT(ROUND(C20,2)*100)-INT(ROUND(C20,2)*10)*10)=0,"","零"),TEXT(INT(ROUND(C20,2)*10)-INT(ROUND(C20,2))*10,"[dbnum2]")&"角")&IF((INT(ROUND(C20,2)*100)-INT(ROUND(C20,2)*10)*10)=0,"整",TEXT((INT(ROUND(C20,2)*100)-INT(ROUND(C20,2)*10)*10),"[dbnum2]")&"分")))

4、然后把公式里面的C20改成前面罗马数字的单元格。“例如把C20改成C10,”

5、按回车.......................恭喜你成功了!!!!!

© 一点知识