=IF(ROUND(A6,2)<0,"无效数值",IF(ROUND(A6,2)=0,"零",IF(ROUND(A6,2)<1,"",TEXT(INT(ROUND(A6,2)),"[dbnum2]")&"元")&IF(INT(ROUND(A6,2)*10)-INT(ROUND(A6,2))*10=0,IF(INT(ROUND(A6,2))*(INT(ROUND(A6,2)*100)-INT(ROUND(A6,2)*10)*10)=0,"","零"),TEXT(INT(ROUND(A6,2)*10)-INT(ROUND(A6,2))*10,"[dbnum2]")&"角")&IF((INT(ROUND(A6,2)*100)-INT(ROUND(A6,2)*10)*10)=0,"整",TEXT((INT(ROUND(A6,2)*100)-INT(ROUND(A6,2)*10)*10),"[dbnum2]")&"分"))) |
将A6替换为想要转换的单元格
如
100 壹佰元整
101 壹佰零壹元整
111.2壹佰壹拾壹元贰角整
100.24壹佰元贰角肆分
时间: 2024-11-05 02:19:20