excel公式的解释!=IF(ISERROR(FIND(".",B16)),NUMBERSTRING(INT(B16),2)&"元整",IF(ISERROR(NUMBERSTRING(MID(B16,FIND(".",B16)+2,1),2)),NUMBERSTRING(INT(B16),2)&"元"&NUMBERSTRING(MID(B16,FIND(".",B16)+1,1),2)&"角整",NUMBERSTRING(INT(B16),2)&"元"
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/17 23:26:26
excel公式的解释!=IF(ISERROR(FIND(".",B16)),NUMBERSTRING(INT(B16),2)&"元整",IF(ISERROR(NUMBERSTRING(MID(B16,FIND(".",B16)+2,1),2)),NUMBERSTRING(INT(B16),2)&"元"&NUMBERSTRING(MID(B16,FIND(".",B16)+1,1),2)&"角整",NUMBERSTRING(INT(B16),2)&"元"
excel公式的解释!
=IF(ISERROR(FIND(".",B16)),NUMBERSTRING(INT(B16),2)&"元整",IF(ISERROR(NUMBERSTRING(MID(B16,FIND(".",B16)+2,1),2)),NUMBERSTRING(INT(B16),2)&"元"&NUMBERSTRING(MID(B16,FIND(".",B16)+1,1),2)&"角整",NUMBERSTRING(INT(B16),2)&"元"&NUMBERSTRING(MID(B16,FIND(".",B16)+1,1),2)&"角"&NUMBERSTRING(MID(B16,FIND(".",B16)+2,1),2)&"分"))
呵呵,哪位哥们可以详细的解释下以上语句的意思啊!
excel公式的解释!=IF(ISERROR(FIND(".",B16)),NUMBERSTRING(INT(B16),2)&"元整",IF(ISERROR(NUMBERSTRING(MID(B16,FIND(".",B16)+2,1),2)),NUMBERSTRING(INT(B16),2)&"元"&NUMBERSTRING(MID(B16,FIND(".",B16)+1,1),2)&"角整",NUMBERSTRING(INT(B16),2)&"元"
这是个把数字转化为大写金额的公式,但太复杂了,给你简短点的
=IF(OR(B16="",B16=0),"",TEXT(INT(B16),"[dbnum2]")&IF(INT(B16)=B16,"元整","元")&IF(INT(B16)B16,TEXT(--RIGHT(INT(B16*10)),"[=0]零;[>0][dbnum2]#角"),"")&TEXT(--RIGHT(INT(B16*100)),"[dbnum2]#分;;"))