AND

Combines multiple conditions and returns TRUE only if all of them are met.

The AND function returns TRUE only if all the specified conditions are TRUE. If any condition evaluates to FALSE, the function returns FALSE. It is commonly used with IF and other conditional functions to evaluate multiple criteria.

Syntax

AND( logical_test1, [logical_test2], ... )

Arguments

logical_test1 - The first condition to evaluate. Required.

logical_test2, ... - Additional conditions to evaluate. Optional.

Return value

Either TRUE or FALSE.

Example

IF(AND([Region]=="United States",[Sub Category]=="Juices"),30500000,0)

In the example below, values are assigned to the 2027 Plan using the AND function within an IF statement.

The AND function returns TRUE only when the region is the United States and the subcategory is Juices. The formula returns 30.5m for records where the Region is 'United States' and the Sub Category is 'Juices', and 0 for all other records.

Applying AND function

Excel equivalent

ANDarrow-up-right

Last updated

Was this helpful?