求教大神!为何下面公式遇到0就无法显示大写零出来的?显示Value!谢谢

匿名网友 |浏览659次
收藏|2019/08/12 11:26

满意回答

2019/08/12 11:44

J6:=IF(IF(W6上百,百位,"")="","",CHOOSE(IF(IF(W6上百,百位,"")=0,10,IF(W6上百,百位,"")),"壹","贰","叁","肆","伍","陆","柒","捌","玖","零"))可以改写为:=IF(IF(W6不上百,百位,"",CHOOSE(IF(IF(W6上百,百位,"")=0,10,IF(W6上百,百位,"")),"壹","贰","叁","肆","伍","陆","柒","捌","玖","零"))=IF(IF(LEN(INT(W6))>=3,LEFT(RIGHT(INT(W6),3)),"")="","",CHOOSE(IF(IF(LEN(INT(W6))>=3,LEFT(RIGHT(INT(W6),3)),"")=0,10,IF(LEN(INT(W6))>=3,LEFT(RIGHT(INT(W6),3)),"")),"壹","贰","叁","肆","伍","陆","柒","捌","玖","零"))这是一个多么糟糕的公式?拖沓、累赘、晦涩后面的就不分析了。

雄印

其他回答(3)
  • 你想实现什么呢?将你的数据、目标说明,说不定有更好的方法。
    回答于 2019/08/12 12:38
  • 何必那么麻烦,这样不行:=TEXT(w6,"[dbnum2]")&"元整"
    回答于 2019/08/12 12:25
  • 可能是单元格中的内容不是纯数字格式。
    回答于 2019/08/12 12:00
0人关注该问题
+1

 加载中...