excel中如何实现:如果A1不为空并且B1也不为空,则显示好;如果A1不为空并且B1为空,则显示一般;接补充。

2025-01-03 00:32:44
推荐回答(4个)
回答1:

=IF(AND(A3<>"",B3<>""),"好",IF(AND(A3<>"",B3=""),"一般",IF(AND(A3="",B3=""),"不可能","差")))

回答2:

C1中输入
=CHOOSE((A1="")*1+(B1="")*2+1,"好","差","一般","不可能")
试试

回答3:

=lookup((1*isblank(a1))&(1*isblank(b1)),{"00","01","10","11"},{"好","一般","差","不可能"})

回答4:

=IF(AND(A1<>"",B1<>"","不可能",IF(AND(A1="",B1<>"","差",""))
=IF(AND(A1<>"",B1<>"","不可能",IF(AND(A1="",B1<>"",D1*D2,""))