DELTA Function in Excel: Are Two Numbers Equal?

⏱ 1 min readUpdated 28 September 2026

EngineeringLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Related functions

DELTA returns 1 if two numbers are equal and 0 otherwise — easy to SUM for a count of matches.

Syntax

=DELTA(number1, [number2])
Argument What it means
number2 Default 0.

Examples

Example 1

=SUMPRODUCT(--(B2:B100=C2:C100))

The modern way; DELTA(B2,C2) filled down does the same row by row.

EXACT · IF

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong