AND

An AND function returns TRUE only if all the conditions are TRUE and returns FALSE if one or more conditions are FALSE.

Syntax

AND(logical_test1, ...logical_test2?)

Arguments

Return Value

Either True or False values that are given in the arguments.

Remarks

AND function accepts multiple conditions.

Example

Consider the below scenario in which, if the number of licenses are greater than 500 and usage period is lesser than 24 months, the price should be $20 else $25.

To achieve this, the following formula should be written in the [Price] node:

IF(AND([No of Licenses]>500,[Duration]<24),20,25)

Result

As you can see, the price is 20 when both the conditions (No of licenses>500 and Duration<24) are true (in Mar and May). Even if one of the conditions is false, as seen for the other periods, the price is 25.

Last updated