DELTA function

This article describes the formula syntax and usage of the DELTA function in Microsoft Excel.

Description

Tests whether two values are equal. Returns 1 if number1 = number2; returns 0 otherwise. Use this function to filter a set of values. For example, by summing several DELTA functions you calculate the count of equal pairs. This function is also known as the Kronecker Delta function.

Syntax

DELTA(number1, [number2])

The DELTA function syntax has the following arguments:

  • Number1    Required. The first number.

  • Number2    Optional. The second number. If omitted, number2 is assumed to be zero.

Remarks

  • If number1 is nonnumeric, DELTA returns the #VALUE! error value.

  • If number2 is nonnumeric, DELTA returns the #VALUE! error value.

Example

Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.

Formula

Description

Result

=DELTA(5, 4)

Checks whether 5 equals 4

0

=DELTA(5, 5)

Checks whether 5 equals 5

1

=DELTA(0.5, 0)

Checks whether 0.5 equals 0

0

Was this information helpful?

To protect your privacy, please do not include contact information in your feedback. Review our Privacy policy.