Contact

DELTA in ONLYOFFICE: Exact Numeric Equality and Zero Tests

Engineering Beginner ONLYOFFICE Spreadsheet Editor

Compare two numeric engineering values using DELTA with its optional second argument, default-zero mode and exact-value pitfalls.

Verification status: Official documentation referenced; example outcomes independently reasoned or arithmetically checked where stated. Not executed in ONLYOFFICE Spreadsheet Editor. How formula examples are checked

Quick answer: The current official syntax is DELTA(number1, [number2]): it returns 1 when two numbers are equal and 0 otherwise; when number2 is omitted, it defaults to 0. For example, =DELTA(5,5) has an expected result of 1, =DELTA(5,4) has an expected result of 0, and =DELTA(0) has an expected result of 1. These outputs are independently reasoned expectations, not native software results. Official DELTA documentation.

What it does, and what it does not do

DELTA is a compact exact numeric equality indicator. A result of 1 can stand for a match in a verified input table, configuration setting, laboratory comparison or integer flag. It is not a range proximity test, and it does not perform tolerance-based matching. In spreadsheets with floating-point calculations, quantities intended to be equal can differ by a tiny representation or rounding amount; compare within a tolerance when that is the actual business rule.

Avoid confusing DELTA with an arithmetic difference: =B2-C2 returns the difference, whereas =DELTA(B2,C2) returns a binary indicator. The vendor explicitly defines both output values and the optional default as shown above. Vendor definition.

Exact syntax, arguments and default

=DELTA(number1, [number2])
Position Argument Required? Type Documented default
1 number1 Yes The first numeric value or a cell referring to it. None.
2 number2 No The second numeric comparison value or cell. 0 when omitted.

=DELTA(B2) is a well-formed one-argument test against zero, not a request to leave the second value blank as a stored cell. =DELTA(B2,C2) compares exactly two numbers. The reference does not document numeric-text conversion, boolean coercion, array spill behaviour or a rounding/tolerance argument: do not claim these are supported without native tests.

Before entering formulas: reproduce the test worksheet

  1. Create a blank spreadsheet in an ONLYOFFICE Spreadsheet Editor edition you can identify. Use English formula language for the formulas below. Record your Desktop version or the actual Docs/server version and your region if you later report test results.
  2. Enter the specified headers, then enter the table’s input values in the exact cells shown. Numeric inputs must be numeric cells (without quote marks).
  3. Enter the formulas into the output cells exactly as shown, beginning with =. Use Formula → Function to find DELTA or type the function directly. Fill down only through the named last row; do not accidentally include table headers.
  4. Compare your displayed values against the independently computed expected column. For decimals, change display format or use numeric tolerance rather than expecting identical trailing digits.
  5. If your result differs, record the formula, underlying cell type, software platform/version, displayed result, separator/locale settings and any error without overwriting the expected-value reference. ONLYOFFICE’s formula-entry and recalculation guide describes recalculating via the Formula tab, or F9 for the workbook.

Put A1:G1 as Case, number1, number2, Explicit formula, Explicit expected, Omitted-second formula, Omitted-second expected. Enter the numeric B/C columns below in rows 2–14. Enter =DELTA(B2,C2) in D2 and fill D14. Enter =DELTA(B2) in F2 and fill F14; this is the default-zero path. Type the expected 1/0 indicators in E/G. For a simple per-row check, =D2=E2 compares the two numeric flags; that formula is a proposed native check.

Test dataset with expected indicators

Row Case (A) B: first number C: second number E: DELTA(B,C) expected G: DELTA(B) expected (default 0)
2 Equal positives 5 5 1 0
3 Unequal positives 5 4 0 0
4 Zeros 0 0 1 1
5 Positive vs zero 5 0 0 0
6 Negative vs zero -5 0 0 0
7 Equal negatives -3 -3 1 0
8 Different negatives -3 -4 0 0
9 Equal decimals 2.5 2.5 1 0
10 Tiny difference 1 1.0000000001 0 0
11 Crossing sign -2 2 0 0
12 Zero vs negative 0 -1 0 1
13 Equal fractions as literals 0.25 0.25 1 0
14 Unequal decimals -0.5 -0.25 0 0

The two expected columns are logically calculated from equality, independently checked against exact decimal representations. They are not readings from an ONLYOFFICE sheet. Avoid computing 0.1+0.2 and comparing it to 0.3 as a demonstration of a guaranteed native outcome: no ONLYOFFICE floating-point representation test was performed.

Advanced application 1: count exact matching records

For the copied dataset, =SUM(D2:D14) is expected to count 5 exact matches, while =SUM(F2:F14) is expected to count 2 first-numbers equal to zero. The SUM function is officially documented; its use here is a proposed worksheet calculation. To flag mismatches in a readable report, a formula like =IF(DELTA(B2,C2)=1,"Match","Different") is an illustrative combination; English function names and quoted output labels follow the vendor’s documented formula entry rules.

Advanced application 2: distinguish exact matches from tolerance matches

If two quantities may differ due to measurement noise, use a numeric threshold rather than DELTA alone. For a tolerance in H2 (for example 0.001), the proposed worksheet formula =IF(ABS(B2-C2)<=H2,1,0) creates a different rule, because two unequal numbers may still qualify. That result must not be described as DELTA’s behaviour. A mathematically exact comparison is appropriate for integers, prescribed codes or equality to zero; a tolerance is appropriate for rounded calculations or measured quantities. Vendor ABS supports magnitudes of differences.

Common misunderstandings

Default versus explicit zero: =DELTA(B2) and =DELTA(B2,0) are mathematically equivalent for numeric B2; =DELTA(B2,C2) is not the same unless C2 happens to be zero. Result type: expected outputs are numeric 1/0, not literal TRUE/FALSE strings. Equality versus difference: =DELTA(-3,-3) returns an expected 1 although both inputs are negative; =DELTA(-3,3) returns an expected 0. Nonnumeric input: the reference gives numeric argument descriptions only; specific handling of "5", booleans and blanks is unknown until tested.

Errors, limits and troubleshooting

Symptom or question Likely issue Verification level and recommended next step
Function name not recognized or a #NAME?-style diagnostic Wrong spelling, formula language, or older installed version. Possible diagnostic only: native error message unverified. Search exact DELTA in the official function picker. Check target product/version and regional language.
Wrong number of arguments Required versus optional inputs do not match the official signature. Compare directly with vendor syntax; do not infer that another spreadsheet’s argument defaults also apply.
Input stored as text or containing units Numeric-looking text, an invalid complex literal, or an incompatible unit suffix may not be accepted. The function page does not exhaustively document coercion. Enter numeric data in Number/General cells or use documented COMPLEX where appropriate; native conversion and error codes remain untested.
Unexpected zeros, decimals or tiny differences Floating-point arithmetic, formatting, or rounding of a displayed value. Compare underlying numbers using a tolerance; distinguish the mathematical definition from implementation precision.
Different separator or localized name Formula Language and region settings vary. See ONLYOFFICE Advanced Settings; confirm settings in the target editor rather than guessing syntax.
Result looks wrong after editing inputs Recalculation or mistaken relative reference while filling down. Inspect Show Formulas, check absolute/relative references, and recalculate from Formula → Calculation as documented.
A visually equal decimal pair yields a mismatch The actual underlying numeric values may differ even if formatted identically. Inspect underlying values; compare ABS(B2-C2) and use a separate tolerance condition if your rule calls for it. No observed native decimal rounding/coercion result is claimed.
Omitted second parameter unexpectedly compared against C2 Confusing =DELTA(B2) with =DELTA(B2,C2). The vendor explicitly documents zero for omitted number2; examine the formula bar.

Do not invent an error value. Where a case is mathematically defined but the editor’s coercion/overflow handling is undocumented, record it as native behaviour unverified, not a guaranteed #VALUE!, #NUM! or other message.

ABS supports tolerance tests; IF can convert numeric indicators into labels; SUM adds 1/0 flags; and GESTEP tests a threshold rather than exact equality. Only links to actual vendor documentation are given—no unverified internal site URLs.

Compatibility, platform, formula language and limitations of this review

Officially documented: The current, unversioned English ONLYOFFICE Docs Spreadsheet Editor function page for DELTA and Insert Function catalogue list DELTA as an Engineering function. Checked 2026-10-13 (UTC). This supports the existence, purpose and signature of the function in the documented editor; it is not proof of identical behaviour in all past web integrations, all Desktop Editors builds, or mobile versions.

First-supported version: Not established by this research. The vendor maintains distinct Docs release history and Desktop Editors release history. Their availability does not, by itself, identify the first supported release of DELTA. Desktop version compatibility: NOT NATIVELY TESTED; browser/web version compatibility: NOT NATIVELY TESTED; historical versions: UNKNOWN; imported workbook round-trip and specific file-format compatibility: NOT TESTED.

English formulas: Examples use an initial = and commas between arguments where necessary, following the official Insert Function instructions. Under File → Advanced Settings, the editor offers Formula Language, Region, and decimal/thousands separators (official Advanced Settings guide). Translated formula names, regional separators and localized decimal entry are not verified here. Do not blindly swap commas for semicolons or translate a function name unless checked in the actual target installation.

Evidence classification: Every result labelled expected is derived from independent mathematical or logical computation, never copied from an ONLYOFFICE screenshot or claimed to have been observed in a running editor. Native Desktop executions: 0. Native web executions: 0. Any error strings described as possible diagnostic are not observed output.

Official sources and claim-level evidence — checked 2026-10-13 UTC

Claim Reference and method Evidence classification
DELTA exists and its exact syntax/argument order ONLYOFFICE DELTA reference, heading, syntax, argument table; directly checked 2026-10-13. OFFICIAL DOCUMENTATION, current unversioned English Docs reference.
Function picker and English formula syntax ONLYOFFICE Insert Function guide, formula-entry instructions and Engineering category; checked 2026-10-13. OFFICIAL DOCUMENTATION, not a runtime test.
Formula language, region and numeric separators are configurable ONLYOFFICE Advanced Settings, Regional settings; checked 2026-10-13. OFFICIAL DOCUMENTATION, localized names not tested.
Scope of Docs versus Desktop and historical releases Docs changelog; Desktop changelog; checked 2026-10-13. Separate release histories observed; per-function first-supported version not established.
26 numeric/complex comparison cases from the worksheet Standard mathematical definitions cross-checked using independent Python standard-library logic and high-precision mpmath/decimal procedures. INDEPENDENT MATH, not native ONLYOFFICE output.
Default second argument equals zero DELTA help, arguments table, checked 2026-10-13. OFFICIAL DOCUMENTATION
Separate tolerance strategy ABS, IF and SUM references; mathematical comparison rule explained independently. OFFICIAL FUNCTION EXISTENCE + EXPLICIT DIFFERENT LOGIC