[英]How do I use a multiple and statement in excel
My formulae is:我的公式是:
=IF(AND(OR($G4=34503,$G4=36313,$G4=42028,$G4=46889),$J4,{1;2}),IF(BA3="",BA3,BA3&CHAR(10)&CHAR(13))&"*"$I4,BA3)
The above all works fine, but I need to include:以上一切工作正常,但我需要包括:
$H4="What, if anything, of the instructors performance enhanced your learning experience"
The above is (I gather) a second and criteria but not linked to the J4
formulae in that以上是(我收集)第二个和标准,但与J4
公式无关
If any of the G
numbers have either the item in H
or the item in J
then carryout the function.如果任何G
编号具有H
的项目或J
的项目,则执行该功能。
Also how do I truncate the text for the H4
criteria?另外,我如何截断H4
标准的文本?
The order of the elements in an AND() statement does not matter. AND() 语句中元素的顺序无关紧要。 You currently have this AND() statement:您目前有这个 AND() 语句:
AND(OR($G4=34503,$G4=36313,$G4=42028,$G4=46889),$J4,{1;2})
If you want to add the condition $H4="What, if anything, of the instructors performance enhanced your learning experience"
then simply include it between the round brackets of AND()如果您想添加条件$H4="What, if anything, of the instructors performance enhanced your learning experience"
那么只需将其包含在 AND() 的圆括号之间
AND(OR($G4=34503,$G4=36313,$G4=42028,$G4=46889),$J4,{1;2},$H4="What, if anything, of the instructors performance enhanced your learning experience")
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.