How to Use the EXACT Function
Last updated: 2026-09-06
⚡ Quick Answer
The EXACT function compares two text strings and returns TRUE if they are identical down to case sensitivity.
=EXACT(A2, B2)📊 Visual Demo
HOME · INSERT · FORMULAS · DATA
fx =EXACT(A2, B2)
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | 1 | Password | password | =EXACT(A2, B2) | FALSE (Case Mismatch) |
| 2 | 2 | SKU-100 | SKU-100 | — | TRUE (Exact Match) |
| 3 | 3 | Security | Audit Check | Verified | Comparison Safe |
🧠 Deep Dive
The EXACT function compares two text strings and returns TRUE if they are identical down to case sensitivity.
Key Insights
- Text functions are position-based (LEFT, RIGHT, MID).
- FIND is case-sensitive, SEARCH is not.
Common Mistakes
- Hard-coding character positions on variable data.
Pro Tips
- Parse once into helper columns.
- Test on longest/shortest strings.
FAQ
What does this formula do in plain English?
The EXACT function compares two text strings and returns TRUE if they are identical down to case sensitivity.
Why is my formula not working?
Hard-coding character positions on variable data.
Does this work in Google Sheets?
Yes, this syntax is fully compatible with Google Sheets.
What is the most common mistake?
Hard-coding character positions on variable data.
Related Guides
How to Use TEXTJOIN in ExcelHow to Use LEFT, RIGHT, and MIDHow to Format Text Case in ExcelHow to Use SUBSTITUTE and REPLACEExcel Error Hub
Need Complete Playbooks?
Download our verified manuals covering ERP Cleanup and Modeling.
Explore Playbook Series (From ₹199)