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

Connect with an expert
Contact us
Expand your skills
Explore training

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×