DELTA Function in Excel: Are Two Numbers Equal?

DELTA Function in Excel: Are Two Numbers Equal? featured illustration

πŸ“Ž This article includes 1 downloadable practice file ↓

⏱ 2 min readUpdated 5 October 2026

EngineeringLevel: IntermediateAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. DELTA in practice
  5. Where you will use it
  6. Worked example
  7. Mistakes people make
  8. Related functions
  9. Continue learning

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

Advertisement

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.

DELTA in practice

Where you will use it

  • Check if two readings match exactly (1/0)
  • Count exact matches with SUM(DELTA(...))
  • Quick test flags

Worked example

ABFormulaResult
55=DELTA(A2,B2)1
54.99=DELTA(A3,B3)0
00=DELTA(A4,B4)1

Results calculated in Excel.

Mistakes people make

MistakeWhat to do instead
Text valuesDELTA is for numbers only; use EXACT for text
Tiny floating differencesROUND both values first

EXACT Β· IF

πŸ“š Part of the free Excel course: Beginner β†’ Expert Β· Try it in the Formula Lab or ask the AI Helper.

⚑ Interactive Practice Lab & Formula Tester:

Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.

πŸ“Ž Practice files for this article

  • πŸ“—
    Practice workbook: Engineering & conversion15 tasks on realistic sales data β€” type your formula, the Check column turns green when it is right. Answers sheet included.
    ⬇ XLSX Β· 34 KB

Free to use for learning. Files with macros (.bas) are plain text β€” import them with Alt+F11 β†’ File β†’ Import File, and always test on a copy.

✨ Ask AI about this article

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

Free Β· AI can be wrong

Leave a Reply

Your email address will not be published. Required fields are marked *