NOT
Supported, behaves as documentedCategory: Logical · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| Excel | Yes | Not yet | n/a |
| Google Sheets | Yes | Not yet | n/a |
| LibreOffice Calc | Yes | Yes (24.2.7.2, 2026-07-04) | Supported, behaves as documented |
Executed test cases
LibreOffice Calc 24.2.7.2 (tested 2026-07-04)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =NOT(TRUE) | NOT(TRUE) -> FALSE | False | False | Matched |
| =NOT(FALSE) | NOT(FALSE) -> TRUE | True | True | Matched |
| =NOT(0) | 0 coerces to FALSE, so NOT(0) -> TRUE (same numeric-coercion convention as AND/OR/XOR) | True | True Numeric coercion for logical functions confirmed via https://www.ablebits.com/office-addins-blog/excel-and-or-xor-not-functions/ |
Matched |
| =NOT(5) | Any nonzero number coerces to TRUE, so NOT(5) -> FALSE | False | False | Matched |
| =NOT("abc") | An arbitrary text literal cannot be coerced to a logical value -> #VALUE! | #VALUE! | #VALUE! | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation