Excel EXACT function Function EXACT Description Excel EXACT function compares two strings Syntax EXACT(text1, text2) text1 Required. The first text string. text2 Required. The second text string. Example: Case: 1 Case: 2