Engineering

DELTA Formula

Tests whether two numbers are exactly equal, returning 1 if they match and 0 if they don't. DELTA is an engineering function based on the Kronecker delta — it's commonly used in engineering calculations, signal processing, and as a compact equality test that returns numeric 1/0 instead of TRUE/FALSE.

Syntax

DELTA(number1, [number2])
ParameterDescription
number1 Parameter of the DELTA function.
[number2] (Optional.) Parameter of the DELTA function.
Try DELTA in Viztab — free, no signup

Examples

Test equality of two values

Formula
=DELTA(5, 5)
1. Both numbers are equal, so DELTA returns 1.

Test inequality

Formula
=DELTA(5, 4)
0. The numbers differ, so DELTA returns 0.

Count exact matches in a range

Formula
=SUMPRODUCT(DELTA(A1:A20, 100))
Returns the count of cells in A1:A20 that exactly equal 100. DELTA returns 1 for each match, and SUMPRODUCT adds them up.

Common Errors

#VALUE!

One or both arguments is non-numeric text.

Tips

DELTA vs equals comparison

DELTA(a, b) returns 1 or 0 (numbers), while a=b returns TRUE or FALSE (logical). Use DELTA when you need a numeric result for further calculations.

Single argument tests against zero

DELTA(5) is equivalent to DELTA(5, 0) — it tests whether the number equals zero. Useful for checking if a calculation zeroed out.

Pair with SUMPRODUCT

=SUMPRODUCT(DELTA(range, target)) is a clean way to count exact matches without COUNTIF. It works well in array formula contexts.

Try DELTA in Viztab

Import your data and use DELTA with 370+ other formulas. No signup required.

Open Viztab

Related Formulas