Note: The other languages of the website are Google-translated. Back to English
English English

Excel EXACT function

doc ceiling precise 1


The EXACT function compares two strings and returns TRUE if they are exactly same (taking into account case sensitivity), or returns FALSE.

Syntax and arguments

Formula syntax



  • Text1: Required, the first string used to compare.
  • Text2: Optional, the second string used to compare.

Return Value

The EXACT function returns TRUE if two compared strings are exactly same, or returns FALSE.

Usage and Examples

Example 1 compare two strings in case sensitive


B3 and C3 are the two strings you want to compare exactly.
doc exact function 2

Example 2 compare two strings with space


B3 and C3 are the two strings you want to compare exactly.
doc exact function 3

Download sample


Relative Functions:

  • Excel DOLLAR Function
    The CHAR function is used to convert a number to text in the currency formatting, with the decimals rounded to the given number of decimal places.

  • Excel CLEAN Function
    The CLEAN function is used to remove all non-printable characters from the given text.

  • Excel CODE Function
    The CODE function returns a numeric code of a character or the first character in a given text string cell.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings

 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save
time for you.

  • Designed for
    work scenarios, helps you solve
     Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30
    -day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by
    when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Leave your comments
Posting as Guest
Rate this post:
0   Characters
Suggested Locations

Follow Us

Copyright © 2009 - | All rights reserved. Powered by ExtendOffice. | Sitemap
Microsoft and the Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Protected by Sectigo SSL