AND
Syntax
AND(logical_test1,logical_test2, ... )Arguments
Return value
Example
if(and(Region == "West", Category=="Urban"), 25, 30)Excel equivalent
Last updated
The AND function returns TRUE if all the conditions are TRUE and returns FALSE if any of the conditions are FALSE.
AND(logical_test1,logical_test2, ... )logical_test1 – The first condition to be evaluated. This is a required argument.
logical_test2,.. – The additional conditions to be evaluated. These are optional arguments.
Either True or False
if(and(Region == "West", Category=="Urban"), 25, 30)Returns 25 if the region is West and the category is Urban, otherwise returns 30
Last updated