What is the NOT function?
=NOT(logical)NOT turns TRUE into FALSE and FALSE into TRUE. Use it to express "if not".
Play the steps to see the condition checked first and then reversed. Column E shows the same formula copied down.
Arguments
- logical
- An expression or value that is TRUE or FALSE, for example B2>=80.
NOT examples
Example 1. Under 80?
=NOT(B2>=80)If B2 is 85, the condition is TRUE and NOT returns FALSE.
Example 2. With IF
=IF(NOT(B2=""), "Entered", "Blank")"Entered" if B2 is not empty.
Common mistakes
A simpler comparison exists
NOT(B2>=80) is the same as B2<80. Changing the operator is often easier to read.
Parentheses with AND and OR
NOT(AND(…)) and AND(NOT(…), …) give different results.
FAQ
- What if I pass a number?
- 0 is treated as FALSE and any other number as TRUE, then reversed.
- The TRUE and FALSE functions?
- =TRUE() and =FALSE() return TRUE and FALSE.