<p>=IF(ROUND(B22,2)<0,"无效数值",IF(ROUND(B22,2)=0,"零",IF(ROUND(B22,2)<1,"",TEXT(INT(ROUND(B22,2)),"[dbnum2]")&"元")&IF(INT(ROUND(B22,2)*10)-INT(ROUND(B22,2))*10=0,IF(INT(ROUND(B22,2))*(INT(ROUND(B22,2)*100)-INT(ROUND(B22,2)*10)*10)=0,"","零"),TEXT(INT(ROUND(B22,2)*10)-INT(ROUND(B22,2))*10,"[dbnum2]")&"角")&IF((INT(ROUND(B22,2)*100)-INT(ROUND(B22,2)*10)*10)=0,"整",TEXT((INT(ROUND(B22,2)*100)-INT(ROUND(B22,2)*10)*10),"[dbnum2]")&"分")))</p><p>式中<font color="#ee1111">B22</font>是小写所在单元格。</p> |