|
[广告] Excel易用宝 - 提升Excel的操作效率 · Excel / WPS表格插件 ★ 免费下载 ★ ★ 使用帮助★
原帖由 carol-pig 于 2006-6-8 16:33 发表
关于邮件合并,我一直有个问题不明白,我想把EXECL中的钱合并后转化为大写,怎么实现呢
为何不尝试先在EXECL中转换后再邮件合并呢?
在EXECL中把钱转换成大写可用此公式:
=SUBSTITUTE(SUBSTITUTE(IF(J1<0,"负","")&TEXT(TRUNC(ABS(ROUND(J1,2))),"[DBNum2]")&"元"&IF(ISERR(FIND(".",ROUND(J1,2))),"",TEXT(RIGHT(TRUNC(ROUND(J1,2)*10)),"[DBNum2]"))&IF(ISERR(FIND(".0",TEXT(J1,"0.00"))),"角","")&IF(LEFT(RIGHT(ROUND(J1,2),3))=".",TEXT(RIGHT(ROUND(J1,2)),"[DBNum2]")&"分",IF(ROUND(J1,2)=0,"","整")),"零元零",""),"零元","")
其中J1是你要填的数字 |
|