|
=IF(ROUND(E18,2)<0,"无效数值","人民币"&IF(ROUND(E18,2)=0,"零元",IF(ROUND(E18,2)<1,"",TEXT(INT(ROUND(E18,2)),"[dbnum2]")&"元")&IF(INT(ROUND(E18,2)*10)-INT(ROUND(E18,2))*10=0,IF(INT(ROUND(E18,2))*(INT(ROUND(E18,2)*100)-INT(ROUND(E18,2)*10)*10)=0,"","零"),TEXT(INT(ROUND(E18,2)*10)-INT(ROUND(E18,2))*10,"[dbnum2]")&"角")&IF((INT(ROUND(E18,2)*100)-INT(ROUND(E18,2)*10)*10)=0,"整",TEXT((INT(ROUND(E18,2)*100)-INT(ROUND(E18,2)*10)*10),"[dbnum2]")&"分")))
将上面函数中的E18换成需要转换的单元格。 |
|