ReferenceFunctionsLogical (Extended) Functions
NOT
NOT: Reverses the logical value of its argument.
Summary
NOT converts the input to a logical value, then flips it.
Remarks
- Numbers are coerced (
0-> TRUE after inversion, non-zero -> FALSE after inversion). - Blank values are treated as FALSE, so
NOT(blank)returns TRUE. - Text and other non-coercible values return
#VALUE!. - Errors are propagated unchanged.
Examples
Invert boolean
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
false
Invert numeric truthiness
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
true
Related functions
FAQ
How does NOT treat blanks?
Blank is treated as FALSE first, so NOT(blank) returns TRUE.
Runtime metadata
Category
Logical Ext
Signature
NOT(arg1: Any)Arity
min 1, max 1
Arguments
arg1Any · Scalar
Caps
PURE
Source