
TextLevel: IntermediateAvailable in: Excel 2007+
In this article
- Syntax
- Examples
- Example 1
- Example 2
- Related functions
EXACT compares two texts including upper/lower case. A normal =A2=B2 ignores case.
Syntax
=EXACT(text1, text2)
| Argument |
What it means |
text1, text2 |
Texts to compare. |
Examples
Example 1
=EXACT(A2, B2)
TRUE only if “ABC123” matches “ABC123”, not “abc123”.
Example 2
=SUMPRODUCT(--EXACT(A2:A100, "SKU-a"))
Case-sensitive count.
UPPER · FIND · COUNTIF
📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.
✨ Ask AI about this articleStuck on a step? Ask a question and the AI answers using this article.
Free · AI can be wrong