FormulaCamp
Completed
← Google Sheets functions
Google Sheets function

EXACT in Google Sheets

EXACT with worked examples you can test in the live grid. The argument details are in the Excel guide.

In Google Sheets

The arguments and common errors are covered in the EXACT Excel guide; check the function help in Google Sheets for its own argument list.

Worked examples in Google Sheets

Case difference

AB
1TypedStored
2secret1Secret1

Formula: D2: =EXACT(A2,B2)

Result: FALSE

The first letter differs in case, so the texts are not identical.

Identical texts

AB
1TypedStored
2Secret1Secret1

Formula: D2: =EXACT(A2,B2)

Result: TRUE

Same letters in the same case give TRUE.

Hidden trailing space

A
1Name
2Ana

Formula: C2: =EXACT(A2,"Ana ")

Result: FALSE

The second text ends with a space, which EXACT treats as a difference.

Try it

A tiny spreadsheet with example data. Edit the formula or any number and see the result.

Formula in D2: =EXACT(A2,B2)

Example spreadsheet for EXACT
ABCD
1TextOtherResult
2Alice Johnsonalice johnsonFALSE
3[email protected][email protected]
4 extra spaces
5SKU-2026-0415
6iced coffee, tea, sugar
7Order 417 shipped
Result in D2: FALSE
Practice this in a lesson: SWITCH, XOR, IFNA, EXACT

Google Sheets is used here only as a descriptive product name. FormulaCamp is not affiliated with Google.