DELTA Function (Gnumeric)
Learn the DELTA function in Gnumeric: Tests whether two values are equal.
Verification status: See the evidence and test scope described in this guide. How formula examples are checked
DELTA in Gnumeric returns a numeric equality flag: 1 for equal numbers and 0 otherwise. Its second argument is optional; leaving it out compares the first number with zero.
This guide explains how to read the formula, reproduce a concrete example, interpret its result and recognize common input mistakes.
Availability and version history
- Introduced: Documented by 1.12.62; original introduction not established.
- Availability: Supported in Gnumeric 1.12.62, based on the function-specific registration.
- Scope: Desktop; the fn-eng function module must be included and enabled.
- Checked: October 18, 2026. Official documentation and released-source inspection, with independent calculations; no Gnumeric 1.12.62 execution.
Syntax and arguments
DELTA(number1, [number2])
number1: the first numeric value.number2: the optional comparison value. If omitted, Gnumeric uses zero.- Result: numeric
1for equality, otherwise numeric0. The brackets mark an optional argument; do not type them.
For example, =DELTA(0) expects 1, while =DELTA(7) expects 0. Omitting the second argument does not compare a value with itself. Formulas here use commas between arguments. The official manual documents #VALUE! for nonnumeric arguments; do not rely on the function to clean text labels into numbers.
Worked example
=DELTA(7,7)
Expected result: 1.
Why it works: Check whether two numeric values are equal.
Compare equality and the omitted default
| Formula | Expected result | Reason |
|---|---|---|
=DELTA(7,8) |
0 | Different numeric values |
=DELTA(-3,-3) |
1 | Equal negative values |
=DELTA(0) |
1 | The omitted comparison value is zero |
=DELTA(7) |
0 | Seven does not equal the default zero |
These results are numeric flags, which can be added. For a small numeric-code count, put 7, 8 and 7 in A2, A3 and A4. Enter =DELTA(A2,7) in B2, then use =DELTA(A3,7) in B3 and =DELTA(A4,7) in B4. Expected flags are 1, 0, 1. =SUM(B2:B4) then expects 2 matches.
This is an equality example for numeric codes. It is not a recommendation to convert text identifiers or codes with meaningful leading zeros into numbers.
Equality is not a tolerance rule
Two cells can look identical after display formatting while holding different values. For example, 10.005 and 10.009 are distinct numbers; =DELTA(10.005,10.009) expects 0. If a process should accept differences up to 0.01, an explicit comparison such as =ABS(10.005-10.009)<=0.01 expresses that policy and expects TRUE for this example. Choose the tolerance for the actual task; DELTA does not invent one.
How to use it in your own spreadsheet
- Identify the cells or inputs that correspond to the sample values above.
- Enter the formula in an empty cell, changing the references or literal values to match your sheet.
- Compare the output with a manual check on a small known example.
- Extend the formula to a larger dataset only after you understand the result.
Common problems and practical checks
- An omitted argument changes the comparison:
DELTA(x)means comparison with zero, not comparison with a previous row or with x itself. - Nonnumeric input: the manual’s error rule is
#VALUE!. For instance, a text label such as"red"is not a numeric equality input;=DELTA("red",7)has the documentation-derived expected error#VALUE!. - Equal-looking cells: formatting does not prove that stored numbers match. Check the values or use an explicitly chosen tolerance policy.
- Wrong operation: DELTA is equality, not greater-than-or-equal; use the appropriate threshold comparison for that task.
- Compatibility: the Gnumeric manual identifies DELTA as Excel-compatible, but these examples have not been executed in either application during this review.
Related functions
Documentation and verification
-
Numeric expectations were checked independently against the documented definition and Gnumeric 1.12.62 released implementation. Error expectations are documentation-derived. Gnumeric was not run for this review, and another application is not used as proof of Gnumeric behaviour.
-
Gnumeric 1.12.62 released source archive: inspected the relevant function implementation; no source code was executed or compiled for these examples.