多个 IF 语句才能做出真实的陈述?
Multiple IF statements to make a true statement?
在我的 Google 电子表格中,我有多个下拉菜单,如果它们都显示“资格”、“太接近呼叫”、“优先级”或“墙到墙”,我希望它能吐出我的真实陈述。我无法让它告诉我我的陈述是真是假。代码在 H2
列
=if(E2="Qualifies","Write Offer Now", OR(E2="Too Close to Call","Write Offer Now",And(F2=Yes,"Write Offer Now",OR(F2=Priority,"Write Offer Now",And(G2="Qualifies","Write Offer Now", OR(G2="Wall to Wall","Write Offer Now",""))))))
I want a cell to read true only if three other separate cells say
true. Problem is when one column is true even when the other two cells
say false I get a true value. How do I make Google sheets say true
only when all the values are true
=IF(AND(E2=TRUE, F2=TRUE, G2=TRUE), TRUE, FALSE)
在我的 Google 电子表格中,我有多个下拉菜单,如果它们都显示“资格”、“太接近呼叫”、“优先级”或“墙到墙”,我希望它能吐出我的真实陈述。我无法让它告诉我我的陈述是真是假。代码在 H2
列=if(E2="Qualifies","Write Offer Now", OR(E2="Too Close to Call","Write Offer Now",And(F2=Yes,"Write Offer Now",OR(F2=Priority,"Write Offer Now",And(G2="Qualifies","Write Offer Now", OR(G2="Wall to Wall","Write Offer Now",""))))))
I want a cell to read true only if three other separate cells say true. Problem is when one column is true even when the other two cells say false I get a true value. How do I make Google sheets say true only when all the values are true
=IF(AND(E2=TRUE, F2=TRUE, G2=TRUE), TRUE, FALSE)