EXACT compares two text strings and returns TRUE only if they match exactly, including capitalization — unlike the = operator, which ignores case.
EXACT compares two pieces of text and returns TRUE only if they are identical character-for-character, including uppercase versus lowercase letters.
This matters because Excel's regular = comparison treats "Apple" and "apple" as equal — EXACT is the only built-in way to tell them apart.
=EXACT(text1, text2)| Argument | Description |
|---|---|
| text1 required | The first text or cell to compare. |
| text2 required | The second text or cell to compare. |
=EXACT("Apple","apple")Returns FALSE — the capital A makes these different under EXACT, even though = would call them equal.
=EXACT(A2,B2)Useful for spotting data that looks the same but was typed with inconsistent capitalization.
=IF(EXACT(A2,"PRD-001"),"Match","No match")Confirms a product code matches exactly, case included — useful for codes where case carries meaning.
=A1=B1 ignores case differences entirely. Only EXACT catches them.
ExcelPro has 700+ hands-on Excel exercises across 7 career tracks — free to start, no download needed.
Start practicing free →