Value
The value to check.
Returns
TRUE if the parameter is FALSE and FALSE otherwise.
Negates the logical parameter and returns it. NOT (TRUE) NOT (TRUE) returns FALSE and NOT (FALSE) NOT (FALSE) returns TRUE.
Use NOT, AND, OR and XOR in conjunction with IF to express logical conditions.
This formula returns 2 only if Value1 is 20 and Value2 is not 40, and 4 otherwise:
The formula can also be written using the && and ! operators (which are not commonly supported by spreadsheets):
&& is written between the values to test, instead of before them, which can make formulas easier to read.
To make the formula even easier to read, consider replacing the second = operator with either the <> operator or the != operator (which mean "not equal to"):
Examples
Returns 2 only if Value1 is 20 and Value2 is not 40. Otherwise, 4 is returned.
Returns { FALSE, TRUE, FALSE, TRUE }{ FALSE; TRUE; FALSE; TRUE }, a negated version of the given array.