|
楼主 |
发表于 2005-3-29 01:55
|
显示全部楼层
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
Re:
<B>Re:</B>
<P>提得好,改进一下。</P>
<P>=IF(OR(ISNUMBER(E15)=FALSE,ROUND(E15,2)=0),"",IF(E15<0,"负","")&IF(INT(ROUND(ABS(E15),2))=0,"",TEXT(INT(ROUND(ABS(E15),2)), "[DBNum2]")&"元")&IF(INT(ROUND(ABS(E15),2))=ROUND(ABS(E15),2),"整",IF(INT(ROUND(ABS(E15),2)*10)=ROUND(ABS(E15)*10,1),TEXT(RIGHT(INT(ROUND(ABS(E15),2)*10),1),"[DBNum2]")&"角整",TEXT(RIGHT(INT(ROUND(ABS(E15),2)*10),1),"[DBNum2]")&IF(RIGHT(INT(ROUND(ABS(E15),2)*10),1)="0","","角")&TEXT(RIGHT(ROUND(ABS(E15),2),1),"[DBNum2]")&"分")))</P> |
|