NOT Function (OpenOffice Calc)
Learn the NOT function in Apache OpenOffice Calc: Reverses the value of the argument.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
Availability and version history
- Introduced: Documented by Apache OpenOffice 4.1.16; original introduction not established.
- Availability: Supported in Apache OpenOffice 4.1.16, verified against its function registry. This identifies a supported release, not a final working version.
- Scope: Desktop Calc, using the English function name. Availability in other spreadsheet applications is separate.
- Checked: 2026-10-14 — function reference; versioned support. Documentation/source check; not a new native test. Existing example-specific test claims below retain their stated scope.
NOT reverses a logical result. It returns TRUE for numeric zero and FALSE for a nonzero numeric value. It is useful when the desired condition is the opposite of an existing test, but it does not change the sign of a number or convert a negative number into a positive one.
Syntax and arguments
=NOT(logical)
One argument is required. For ordinary numeric inputs, the inspected scalar callback compares the numeric value with zero and returns a logical result. Thus NOT(-5) is FALSE, just like NOT(5). Use arithmetic negation, -A2, when you want a signed numeric opposite instead. Examples use English function names and semicolon argument separators.
Reproducible examples
| Formula | Expected result |
|---|---|
=NOT(TRUE()) |
FALSE |
=NOT(FALSE()) |
TRUE |
=NOT(0) |
TRUE |
=NOT(5) |
FALSE |
=NOT(-5) |
FALSE |
=NOT(3>5) |
TRUE |
The first formula preserves the original example and result. Its historical comparable LibreOffice 25.2 check was not an OpenOffice test. New results are independent reference expectations checked against the pinned source, not fresh native worksheet captures.
Practical worksheet: show the inverse of a completion flag
Put Completed in A1 and Needs follow-up in B1. Enter =TRUE(), =FALSE() and =TRUE() in A2:A4. Enter =NOT(A2) in B2 and fill down. Results are FALSE, TRUE and FALSE. In C2 use =IF(B2;"Follow up";"Complete") and fill down, producing Complete, Follow up and Complete.
The flag is a recorded fact or a separate calculated condition. NOT does not verify that the real-world task was completed. Preserve the original flag alongside its inverse so the two columns cannot silently be mistaken for the same meaning.
Advanced applications
Negate a threshold correctly. =NOT(A2>10) is TRUE for ordinary numeric values at or below 10. For inputs 9, 10 and 11 it returns TRUE, TRUE and FALSE. The boundary remains included because the original comparison used a strict greater-than sign.
Negate a combined rule. For valid P and Q, NOT(AND(P;Q)) means at least one is false, while NOT(OR(P;Q)) means both are false. They are different statements. With P=TRUE and Q=FALSE, the former is TRUE and the latter FALSE. Write the original condition in its own cell if nested negations make the rule hard to inspect.
Normalize numeric truth without recovering magnitude. =NOT(NOT(A2)) gives FALSE for 0 and TRUE for 8 or -8. It does not recover 8 or -8. A double negation produces a Boolean interpretation, not a copy of the original number. This distinction matters before multiplying logical flags into a numerical calculation.
Errors, edge cases and troubleshooting
An error input is not repaired by NOT. In particular, negating an invalid calculation does not transform its error into TRUE or FALSE. Check the source calculation and use a deliberate error policy when the input can fail.
This guide uses explicit logical or numeric values and comparisons. It does not certify every direct-text, blank-reference or matrix coercion. The inspected implementation has a separate matrix branch, so the scalar examples should not be advertised as a guide-wide array test.
Avoid using NOT to mean not empty: a zero numeric value is not an empty cell, yet NOT(0) is TRUE. Similarly, NOT(A2) does not test whether A2 is text. Use a function that asks the intended question. For ordinary numeric comparisons, NOT(A2=5) expresses inequality, whereas NOT(A2) merely asks whether its numeric interpretation is zero. Keep logical labels consistent and check the expected boundary before filling a formula down.
Related functions
Documentation and verification
See the Apache OpenOffice NOT reference, 4.1.16 function resources and versioned interpreter. The official source snapshots were retrieved October 13, 2026 and re-read for this guide; their dates have not been relabeled as fresh retrievals. Boolean truth tables, scalar type models and worksheet calculations are independently checked. No new native/headless application or GUI execution is claimed. Original introduction and final functioning version remain unestablished, separate from documented 4.1.16 support.