Syntax
| Parameter | Description |
|---|---|
| text1 | Parameter of the EXACT function. |
| text2 | Parameter of the EXACT function. |
Examples
Case-sensitive password check
=EXACT(A1, "SecurePass123")
Compare two columns
=EXACT(A1, B1)
Validate format
=EXACT(LEFT(A1,2), "US")
Common Errors
Rarely occurs since EXACT converts non-text values to text for comparison, but can happen if an argument is an unresolved error.
Tips
EXACT is the only way to do case-sensitive comparison in formulas. The regular = operator treats "ABC" and "abc" as equal.
EXACT converts numbers to text before comparing. =EXACT(100, "100") returns TRUE, but =EXACT(1, TRUE) returns FALSE because TRUE becomes "TRUE".
=SUMPRODUCT(EXACT(A1:A100, "Widget")*1) counts cells that match "Widget" exactly, ignoring "widget" or "WIDGET".
Try EXACT in Viztab
Import your data and use EXACT with 370+ other formulas. No signup required.
Open Viztab