Skip to main content

AND

Use the AND function to determine if all conditions in a test are TRUE.

Use

AND( condition1, [condition2], ... )
Returns TRUE if all logical conditions are TRUE.

ParameterRequiredDescription
condition1Yesthe initial condition to test, which must result in either TRUE or FALSE
condition2, ...Noadditional conditions to test, which must result in either TRUE or FALSE

ReturnsLogical

Use with literals

AND(TRUE, TRUE)

returns TRUE

AND(TRUE, FALSE, TRUE)

returns FALSE

Use with fields

AND(#Report, $Available)

returns TRUE when constant field #Report is TRUE and variable field $Available is TRUE, otherwise returns FALSE

Use with expressions

AND($Amount > 0, EXACT(@inp.Name, "Fred"))

if variable field $Amount is positive and input field @inp.Name is "Fred" , returns TRUE, otherwise returns FALSE