1. Home
  2. Functions
  3. Engineering
  4. DELTA

DELTA function

Returns 1 when two numbers are equal and 0 otherwise.

Syntax

=DELTA(number1, [number2])

Arguments

ArgumentRequiredDescription
number1RequiredThe first number
number2OptionalThe second number (0 when left out)

How to use DELTA

DELTA takes 1 required argument and 1 optional argument. Type =DELTA( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.

Examples

Each result below was calculated by the SheetsBat formula engine.

=DELTA(5, 4)Result 0
=DELTA(5, 5)Result 1
=DELTA(0.5)Result 0

Every formula, right in your browser

SheetsBat calculates 536 functions, with charts, pivot tables and live collaboration. Free to start.