Share this page:

MS Excel: EXACT Function (WS)

Learn how to use the Excel EXACT function with syntax and examples.

Description

The Microsoft Excel EXACT function compares two strings and returns TRUE if both values are the same. Otherwise, it will return FALSE.

Syntax

The syntax for the Microsoft Excel EXACT function is:

EXACT( text1, text2 )

Parameters or Arguments

text1 and text2 are the values to compare.

The EXACT function is case-sensitive.

Applies To

The EXACT function can be used in the following versions of Microsoft Excel:

  • Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The EXACT function can be used in Microsoft Excel as the following type of function:

  • Worksheet function (WS)

Example (as Worksheet 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:

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