3

我如何将IF(ISBLANK公式添加到此公式中

=CONCATENATE(TEXT('Unapplied Report'!A5,"0000"),TEXT('Unapplied Report'!C5,"000"),TEXT('Unapplied Report'!D5,"0000"))

没有得到任何错误。我已经尝试了几次,只是得到公式错误消息。

4

2 回答 2

8

也许你正在寻找这个?

=CONCATENATE(IF(ISBLANK('Unapplied Report'!A5),"",TEXT('Unapplied Report'!A5,"0000")),
             IF(ISBLANK('Unapplied Report'!C5),"",TEXT('Unapplied Report'!C5,"000")),
             IF(ISBLANK('Unapplied Report'!D5),"",TEXT('Unapplied Report'!D5,"0000")))

这将仅连接那些非空白的单元格。

于 2013-08-14T16:06:58.257 回答
3

我想这就是你要找的:

=IF('Unapplied Report'!A5="","",TEXT('Unapplied Report'!A5,"0000"))&IF('Unapplied Report'!C5="","",TEXT('Unapplied Report'!C5,"0000"))&IF('Unapplied Report'!D5="","",TEXT('Unapplied Report'!D5,"0000"))
于 2013-08-14T15:47:20.787 回答