EXACT Function

The EXACT function is one of the text and data functions. Is used to compare data in two cells. The function returns TRUE if the data are the same, and FALSE if not.

The EXACT function syntax is:

EXACT(text1, text2)

where text1(2) is data entered manually or included into the cell you make reference to.

To apply the EXACT function,

  1. select the cell where you wish to display the result,
  2. click the Insert function Insert function icon icon situated at the top toolbar,
    or right-click within a selected cell and select the Insert Function option from the menu,
    or click the Function icon icon situated at the formula bar,
  3. select the Text and data function group from the list,
  4. click the EXACT function,
  5. enter the required arguments separating them by comma,

    Note: the EXACT function is case-sensitive.

  6. press the Enter button.

The result will be displayed in the selected cell.

For example:

There are two arguments: text1 = A1; text2 = B1, where A1 is MyPassword, B1 is mypassword. So the function returns FALSE.

EXACT Function: FALSE

If we change the A1 data converting all the uppercase letters to lowercase, the function returns TRUE:

EXACT Function: TRUE