Contact

NOT Function in ONLYOFFICE Spreadsheet Editor: Syntax and Worked Examples

Logical Beginner ONLYOFFICE Spreadsheet Editor

Invert a logical test with examples for identifying unready and escalated orders.

Verification status: See the evidence and test scope described in this guide. How formula examples are checked

Quick answer: NOT reverses a logical result: TRUE becomes FALSE and FALSE becomes TRUE. In the original worksheet, =NOT(D2="Ready") flags Pending and Hold orders without changing the text stored in their status cells.

Availability and version history

  • Introduced: The original introduction version and date are not established by the official sources checked.
  • Availability: Documented in the current ONLYOFFICE Spreadsheet Editor help; no final working-version endpoint is established.
  • Scope: Docs and Desktop Editors release separately. This unversioned help does not establish availability in every older build, mobile client or deployment.
  • Checked: October 14, 2026, against the official function reference. Documentation and independent logical checks; no native test of these cases.

Syntax and one logical expression

=NOT(logical)

The official NOT reference documents one argument that can be evaluated as TRUE or FALSE. To invert several conditions, first combine them with AND or OR, then wrap the combined expression in NOT.

NOT is logical inversion, not numeric sign reversal or text removal. Use -B2 to change a numeric sign, and a text function for an editing task. These examples use explicit comparisons instead of assuming undocumented conversion of arbitrary text or numbers.

Original order worksheet

Create OrderStatus. Put Order, Spend, Units, Status and Channel in A1:E1 and enter the five original records. Spend and Units must be numeric.

Row A: Order B: Spend C: Units D: Status E: Channel
2 A101 150 3 Ready Web
3 A102 80 0 Pending Store
4 A103 220 5 Ready Store
5 A104 160 2 Hold Web
6 A105 130 1 Ready Web

Put Not ready in G1. Enter =NOT(D2="Ready") in G2 and fill through G6. Expected results are FALSE,TRUE,FALSE,TRUE,FALSE.

A102 and A104 fail the Ready comparison. This is broader than checking only for Hold: the Pending record also qualifies. An unexpected status needs investigation rather than automatic classification as one known category.

Escalate expensive orders that are not ready

Put Escalation in H1. Enter in H2 and fill through H6:

=IF(AND(NOT(D2="Ready"),B2>=100),"Escalate","No action")

Expected labels are No action,No action,No action,Escalate,No action. A102 is not Ready but spends only 80, so it fails the second requirement. A104 is on Hold and spends 160, so both requirements pass.

Keep G:H intact. Put No listed exception in I1 and enter =NOT(OR(D2="Hold",C2=0)) in I2. Fill through I6; expect TRUE,FALSE,TRUE,FALSE,TRUE.

In J2 enter =AND(D2<>"Hold",C2<>0) and fill through J6. Its expected results match I on this complete fixture. Negating an OR means both original reasons must be absent. These logical equivalences do not establish identical runtime treatment of errors or unexpected cell types.

Negating all versus negating any

Create BooleanRules. Use Boolean values so A2:B5 contains TRUE/TRUE, TRUE/FALSE, FALSE/TRUE and FALSE/FALSE. You may enter them with =TRUE() and =FALSE().

In C2 enter =NOT(AND(A2,B2)). In D2 enter =OR(NOT(A2),NOT(B2)). In E2 enter =NOT(OR(A2,B2)). In F2 enter =AND(NOT(A2),NOT(B2)). Fill C2:F2 through row 5.

A B Expected C and D Expected E and F
TRUE TRUE FALSE FALSE
TRUE FALSE TRUE FALSE
FALSE TRUE TRUE FALSE
FALSE FALSE TRUE TRUE

The first pair is true unless both inputs are true. The second pair is true only when both inputs are false. Parentheses determine what is negated; these expressions are not interchangeable.

For direct controls, =NOT(TRUE) gives FALSE and =NOT(FALSE) gives TRUE according to the documented rule. Put =NOT(NOT(A2)) in G2 and fill to G5; the targets TRUE,TRUE,FALSE,FALSE recover the original A values.

Numeric threshold and official controls

On a separate ThresholdCheck sheet, enter 99,100,101 in A2:A4. Put =NOT(A2>=100) in B2 and =A2<100 in C2; fill both through row 4. Both columns have targets TRUE,FALSE,FALSE. Negating an inclusive lower bound gives a strict upper comparison for these numeric values.

On VendorNOT, enter 12 in A1 and =NOT(A1<100) in C1. Expect FALSE. Change A1 to 112; expect TRUE. Those are the official text example’s two cases.

A formula result TRUE/FALSE is a logical value. The string "FALSE" is text, and the short help does not specify every conversion for such input. Error propagation, numeric coercion, blank cells and array evaluation are not established by these logical controls.

Check the inner comparison first, then add NOT. Keep literal labels quoted and separate input fields from result columns. A nonmatching status is not proof that a record is invalid; it simply fails the particular comparison you wrote.

  • AND combines mandatory requirements.
  • OR combines alternatives.
  • IF selects an explicit result.
  • COUNTIF counts matching entries.
  • SUMIF totals matching amounts.