Text
All versions
◉ 19 views
=EXACT()
Compares two text strings and returns TRUE if they are exactly the same, FALSE otherwise. EXACT is case-sensitive but ignores formatting differences. Use EXACT to test text being entered into a document.
Applies To:
Excel for Microsoft 365Excel for Microsoft 365 for MacExcel 2024Excel 2024 for MacExcel 2021Excel 2021 for MacExcel 2019Excel 2016
=EXACT(text1, text2)
Hover argument names in the table for details.
Output typeLogical
Popularity30 / 100
VolatileNo
Dynamic ArrayNo
📥 Download sample .xlsx ▦ Try in Playground
Dedicated file for this function — safe & lightweight · sample data + live formulas
⬇ Download Sample Workbook
A dedicated .xlsx for =EXACT() with Persian sample data & live formulas — open in Excel and practice.
- Sheet “Sample” — data table + formula in place
- Sheet “Guide” — syntax, arguments & tips from this page
- Instant & secure (token + rate limit)
🧠 🧠 Quiz this function
%d questions — syntax, example & errors — test yourself!
◧ Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
text1 |
Any type | Required | The first text string. |
text2 |
Any type | Required | The second text string. |
▣ Examples
▦ Data
| Cell | Value |
|---|---|
A2 |
First string |
B2 |
Second string |
A3 |
word |
B3 |
word |
A4 |
Word |
B4 |
word |
A5 |
w ord |
B5 |
word |
A6 |
First string |
B6 |
Second string |
A7 |
word |
B7 |
word |
A8 |
Word |
B8 |
word |
A9 |
w ord |
B9 |
word |
Checks whether the strings in the first row match
=EXACT(A2,B2)
Result:
TRUE
Checks whether the strings in the second row match ("W" is uppercase in A3)
=EXACT(A3,B3)
Result:
FALSE
Checks whether the strings in the third row match (A4 contains a space between "w" and "ord")
=EXACT(A4,B4)
Result:
FALSE
💬 Comments & Q&A 0 approved
🔒 Your comment will be published after review.Share your thoughts — visible after admin approval
No comments yet — be the first!