You can use logical operators to build more complex comparison statements in formula user-defined fields and in rules for mandatory fields.
You can use the following logical operators:
-
Or
Combines two comparison statements where either one of the statements is true.
For Example:
OR[Category] == “Partner”[Category] == “Distributor, Partner”is true if the Category field has either the “Partner” value alone or has both the "Partner" and the “Distributor” values.
-
And
Combines two comparison statements where both of the statements is true.
For Example:
AND[Category] == “Partner”[Annual Sales] > 20000is true if the Category field has the “Partner” value and if the Annual Sales field is greater than 20;000.
-
Not
Negates a comparison statement.
For Example:
ANDNOT ([Category] == “Partner”[Annual Sales] > 20000)is true in all cases where the previous example is false.