Excel EXACT Function

This Excel Tutorial demonstrates how to use the Excel EXACT Function in Excel to test if cells are exactly the same, with formula examples.

EXACT Function Description:

The EXACT Function Test if two text cells are exactly equal. Returns TRUE or FALSE. Case-sensitive.

Formula Examples:

exact function examples

Example Formula Result
Matches =EXACT(C5,D5) True
Doesn’t Match =EXACT(C6,D6) False
Leading Spaces =EXACT(C7,D7) False
Case Doesn’t Match =EXACT(C8,D8) False
Case Doesn’t Match: Use LOWER =EXACT(lower(C9),lower(D9)) True
Format Doesn’t Match =EXACT(C10,D10) True

Syntax and Arguments:

The Syntax for the EXACT Formula is:

Function Arguments ( Inputs ):

text1 – A string of text.

text2 – A string of text.

Additional Notes

The EXACT Function is case-sensitive. To ignore case, use LOWER (or UPPER) to put the strings of text in the same case. <>

Erroneous spaces at the beginning or end of the text string will result in a value of FALSE. Use the TRIM Function to remove erroneous spaces <>

The EXACT Function ignores cell formatting. ex. 0.08 = 8%

Return to the List of all Functions in Excel

How to use the EXACT Function in Excel:

To use the AND Excel Worksheet Function, type the following into a cell:
After entering it in the cell, notice how the AND formula inputs appear below the cell:
exact formula syntax
You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=EXACT(” into a cell, without leaving the cell, use the shortcut CTRL + A (A for Arguments) to open the “Insert Function Dialog Box” for detailed instructions:
how to use the exact function in excel

For more information about the EXACT Formula visit the
Microsoft Website.