Learn how to use the Excel EXACT function with syntax and examples.
The Microsoft Excel EXACT function compares two strings and returns TRUE if both values are the same. Otherwise, it will return FALSE.
The syntax for the Microsoft Excel EXACT function is:
EXACT( text1, text2 )
text1 and text2 are the values to compare.
The EXACT function is case-sensitive.
The EXACT function can be used in the following versions of Microsoft Excel:
The EXACT function can be used in Microsoft Excel as the following type of function:
Let's look at some Excel EXACT function examples and explore how to use the EXACT function as a worksheet function in Microsoft Excel:
Based on the spreadsheet above, the following Excel EXACT examples would return:
=EXACT(A1, A2) Result: FALSE =EXACT(A3, A5) Result: TRUE =EXACT(A3, A4) Result: FALSE =EXACT(A4, "Alphabet") Result: TRUE