<p>不会吧!试试这个准错不了!</p><p>在B1 输入:</p><p>="人民币:"&(IF(ROUND(A1,2)<0,C1,IF(ROUND(A1,2)=0,"零元",IF(ROUND(A1,2)<1,"",TEXT(INT(ROUND(A1,2)),"[dbnum2]")&"元")&IF(INT(ROUND(A1,2)*10)-INT(ROUND(A1,2))*10=0,IF(INT(ROUND(A1,2))*(INT(ROUND(A1,2)*100)-INT(ROUND(A1,2)*10)*10)=0,"","零"),TEXT(INT(ROUND(A1,2)*10)-INT(ROUND(A1,2))*10,"[dbnum2]")&"角")&IF((INT(ROUND(A1,2)*100)-INT(ROUND(A1,2)*10)*10)=0,"整",TEXT((INT(ROUND(A1,2)*100)-INT(ROUND(A1,2)*10)*10),"[dbnum2]")&"分"))))</p><p>在C1输入:</p><p>="负"&(IF(ROUND((ABS(A1)),2)<0,"",IF(ROUND((ABS(A1)),2)=0,"零元",IF(ROUND((ABS(A1)),2)<1,"",TEXT(INT(ROUND((ABS(A1)),2)),"[dbnum2]")&"元")&IF(INT(ROUND((ABS(A1)),2)*10)-INT(ROUND((ABS(A1)),2))*10=0,IF(INT(ROUND((ABS(A1)),2))*(INT(ROUND((ABS(A1)),2)*100)-INT(ROUND((ABS(A1)),2)*10)*10)=0,"","零"),TEXT(INT(ROUND((ABS(A1)),2)*10)-INT(ROUND((ABS(A1)),2))*10,"[dbnum2]")&"角")&IF((INT(ROUND((ABS(A1)),2)*100)-INT(ROUND((ABS(A1)),2)*10)*10)=0,"整",TEXT((INT(ROUND((ABS(A1)),2)*100)-INT(ROUND((ABS(A1)),2)*10)*10),"[dbnum2]")&"分"))))</p> |