NOT Function (Gnumeric)
Negate logical values in Gnumeric with NOT, numeric truth conversion, blank/text behavior and validation-rule examples.
Verification status: Gnumeric 1.12.57 ssconvert bounded NOT fixtures, with a separate primary-example GUI capture; pinned/retained 1.12.62 source inspected separately. How formula examples are checked
NOT reverses a logical value: TRUE becomes FALSE and FALSE becomes TRUE. For numeric inputs, zero is treated as FALSE and nonzero values as TRUE before negation. The function is useful for expressing the opposite of a validation rule; it does not change the sign of a number.
Syntax and coercion
=NOT(b)
The single argument b is required. There are no optional defaults. A comparison such as A1>=B1 supplies a logical result directly. For ordinary numbers, =NOT(0) returns TRUE and =NOT(-2) returns FALSE, because -2 is nonzero.
The retained help’s statement that strings and empty values are ignored should not be interpreted as an instruction to accept arbitrary text safely. In the bounded native Gnumeric 1.12.57 tests, =NOT("bad") returned #VALUE!, while NOT applied to a genuinely blank cell returned TRUE. Use an explicit logical comparison when the source data could be mixed text and numbers.
Worked examples
The original =NOT(TRUE()) returns FALSE. The reverse =NOT(FALSE()) returns TRUE.
| Formula | Expected result |
|---|---|
=NOT(0) |
TRUE |
=NOT(-2) |
FALSE |
=NOT("bad") |
#VALUE! |
=NOT(NA()) |
#N/A |
A negative number is not a false condition merely because its sign is negative. NOT first interprets numerical zero/nonzero, then negates the logical result. To reverse a numeric sign, use unary minus instead.
Advanced example: invert a minimum-threshold check
Put an observed quantity 4 in A1 and a required minimum 5 in B1. =A1>=B1 is FALSE because the quantity is below the minimum. =NOT(A1>=B1) returns TRUE, which can serve as a “needs attention” flag.
This flag is the opposite of the acceptance test, so its label should say what TRUE means. A column titled “Valid” would be misleading if the formula is TRUE for invalid rows. Keep one documented acceptance rule and derive its opposite rather than maintaining two independent formulas that can drift apart.
For several numeric conditions, a negated combined rule can express that at least one requirement failed. For example, =NOT(AND(A1>=0,A1<=B1)) checks whether A1 lies outside the interval from zero to B1, assuming a valid nonnegative bound. Equivalent logical expressions should still be checked on the boundary values, not only on a typical middle value.
Errors and missing values
- A referenced error propagates. NOT does not turn an error into a useful Boolean diagnostic.
- Arbitrary text can yield
#VALUE!; do not rely on a quoted word being treated as TRUE just because it is nonempty. - A blank reference returned TRUE in the bounded native test. If a missing measurement must remain unknown, test missingness separately instead of labeling it as a valid negated rule.
- Zero and FALSE are distinct stored types but both lead to TRUE under the tested negation contract. Nonzero numbers lead to FALSE.
- NOT reverses one logical argument; it is not a multi-argument “none of these” function. Combine conditions explicitly when needed.
- Formatting TRUE/FALSE differently does not change their logical meaning. Use descriptive headers to make the flag understandable to readers.
Availability and version history
- Introduced: 0.13, according to the official release history. This was a development-series release.
- Availability: Supported in Gnumeric 1.12.62, based on the function-specific registration.
- Scope: Desktop; the fn-logical function module must be included and enabled.
- Source evidence: Retained official source reexamined October 17, 2026; fn-logical source freshly retrieved at the same pinned revision. No 1.12.62 native execution.
Related functions
Official sources
Native verification scope
On 17 October 2026, Gnumeric 1.12.57 ssconvert recalculated 8 bounded NOT fixtures in C.UTF-8. The article reports their actual numerical, logical, text and error outputs. The original worked examples are included in the native fixtures. Other explanatory formulas are independently checked rather than described as additional runs. These fixture records are engine evidence; the separate primary-example GUI capture below does not certify untested criteria, coercions or other versions.
Native application screenshot

Gnumeric 1.12.57, captured 17 October 2026. The selected H1 cell shows the primary example result, with its formula in the formula bar. Other visible rows are supplemental fixture cases. General number formatting preserves floating-point tails; the GUI locale was not independently recorded.