DELTA function

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


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.


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.


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

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


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.




=DELTA(5, 4)

Checks whether 5 equals 4


=DELTA(5, 5)

Checks whether 5 equals 5


=DELTA(0.5, 0)

Checks whether 0.5 equals 0


Share Facebook Facebook Twitter Twitter Email Email

Was this information helpful?

Great! Any other feedback?

How can we improve it?

Thank you for your feedback!