我在excel中的表格
=IF(ISBLANK(F2),"INPUT CHECK DUE",IF([@[CHECK DUE]]<=TODAY(),"FOR DEPOSIT",([@[CHECK DUE]]-TODAY()&" Day(s) remaining")))
及以上是我在状态栏上的代码。现在,我尝试合并一个函数,该函数将在每次填写备注列时将状态从FOR DEPOSIT
更改为DEPOSITED
。任何人都可以帮助或提出想法。谢谢。
答案 0 :(得分:2)
您难道不能将它嵌套在另一个IF
中?
=IF(ISBLANK(F2),"INPUT CHECK DUE",IF([@[CHECK DUE]]<=TODAY(),IF([@[remarks]<>"","DEPOSITED","FOR DEPOSIT"),([@[CHECK DUE]]-TODAY()&" Day(s) remaining")))
即
=IF(ISBLANK(F2),
"INPUT CHECK DUE",
IF([@[CHECK DUE]]<=TODAY(),
IF([@[remarks]<>"",
"DEPOSITED",
"FOR DEPOSIT"
),
([@[CHECK DUE]]-TODAY()&" Day(s) remaining")
)
)