EDUCBA Logo

EDUCBA

MENUMENU
  • Explore
    • EDUCBA Pro
    • PRO Bundles
    • Featured Skills
    • New & Trending
    • Fresh Entries
    • Finance
    • Data Science
    • Programming and Dev
    • Excel
    • Marketing
    • HR
    • PDP
    • VFX and Design
    • Project Management
    • Exam Prep
    • All Courses
  • Blog
  • Enterprise
  • Free Courses
  • Log in
  • Sign Up
Home Excel Excel Resources TEXT and String Functions in Excel Excel EXACT Function
 

Excel EXACT Function

Pradeep S
Article byPradeep S
Madhuri Thakur
Reviewed byMadhuri Thakur

EXACT Function in Excel

EXACT Function in Excel

Excel is very easy to use and has simple functions with two arguments. The EXACT function is an inbuilt function in Excel that is categorized under the TEXT function. It is used as a worksheet & VBA function in Excel. EXACT function in Excel is used as a part of a formula in a cell of a worksheet & also integrated with other Excel functions (IF, SUMPRODUCT & various other formulas of Excel). Most people use it to perform a case-sensitive lookup between two strings.

 

 

Definition

Watch our Demo Courses and Videos

Valuation, Hadoop, Excel, Mobile Apps, Web Development & many more.

Checks whether two strings are the same and return TRUE or FALSE. It means the EXACT function in Excel compares two strings between two cells and returns TRUE if both values are the same & similar. Otherwise, it will return FALSE if both the strings do not match.

EXACT Formula in Excel

Below is the EXACT Formula in Excel:

EXACT Formula in Excel

Explanation of the EXACT Function in Excel

The EXACT formula in Excel has two parameters, i.e., text1 and text2.

  • Text 1: We want to compare the first text string.
  • Text 2: It is the second string that we want to compare.

The arguments can be entered manually, or cell references can be given. The exact function is case-sensitive. It will return a FALSE value if there is a Leading or trailing space in any text strings, small or capital letters in a text string, Extra space between alphabets in a text, or uppercase or lowercase text between two strings or text, i.e., Capital letters are not equal to small letters.

The equal sign in a formula of exact function can also be used, i.e. (text1=text2), to compare text strings. Instead of the EXACT function, the double equals (==) comparison operator is also used to compare two strings. For example, =X1==Y1 returns the same value as =EXACT(X1,Y1).

How to Use EXACT Function in Excel?

The EXACT function in Excel is very simple and easy to use. Let’s understand the working of the EXACT function in Excel by some EXACT Formula examples.

You can download this EXACT Function Excel Template here – EXACT Function Excel Template

Example #1 – Text Containing Uppercase Letters

Here is the below-mentioned example. Cell B9 & C9 contain text strings; with the help of the EXACT function, I need to check whether the two cells have the same data.

  • Let’s apply the exact function in cell “D9”. Select the cell “D9,” where an EXACT function needs to be applied.

EXACT Example 1-1

  • Click the insert function button (fx) under the formula toolbar, and a dialog box will appear, type the keyword “EXACT” in the search for a function box, and the EXACT function will appear in Select a function box. Double-click on an EXACT function.

EXACT function 1-2

  • A dialog box appears where arguments for the EXACT function need to be filled or entered, i.e., =EXACT(B9, C9). Click ok once it is entered. Here, I need to compare between B9 & C9 cells; hence it is entered in the function arguments of an exact function.

EXACT Example 1-3

  • An EXACT function returns a FALSE value because both strings do not match each other. Here ‘c’ and ‘C’ are different, i.e., ‘c’ is lowercase in text1, whereas ‘C’ is uppercase in text2 (EXACT function is case-sensitive)

EXACT Example 1-4

  • In the below-mentioned example, the EXACT function returns a TRUE value, Because both values in the cell B10 & C10 are the same & similar. i.e., Both the cells contain a proper case text string.

EXACT Example 1-5

Example #2 – Text Containing Spaces

Here is the below-mentioned example. Cell B13 & C13 contain the text strings; with the help of the EXACT function, I need to check whether the two cells have the same data.

  • Let’s apply the exact function in cell “D13”. Select the cell “D13,” where an EXACT function needs to be applied.

EXACT Example 2-1

  • Click the insert function button (fx) under the formula toolbar, and a dialog box will appear, type the keyword “EXACT” in the search for a function box, and the EXACT function will appear in Select a function box. Double-click on an EXACT function.

EXACT function 2-2

  • A dialog box appears where arguments for the EXACT function need to be filled or entered, i.e., =EXACT(B13, C13). Click ok once it is entered. Here, I need to compare between B13 & C13 cells; hence it is entered in the function arguments of an exact function.

EXACT Example 2-3

  • An EXACT function returns a FALSE value because both strings do not match each other. ‘XY Z’ and’XYZ’ are different, i.e., ‘ XY Z’ contains space between letters Y & Z in text1, whereas ‘XYZ’ does not have any extra space between letters in the text2 column.

EXACT Example 2-4

  • An EXACT function returns a FALSE value if there is any extra space between alphabets in text or even if there is a Leading or trailing space in any text strings. In the below-mentioned example, the EXACT function returns a FALSE value because there is a leading space in the cell “B14” before the word XYZ; you can observe two extra spaces.

EXACT Example 2-5

Example #3 – Ignoring Format Pattern

In the below-mentioned example, Cell B18 contains $99, where it is in dollar value as currency format & C18 contains 99, in number or general format. With the help of the EXACT function, I need to check whether the two cells have the same data.

  • Let’s apply the exact function in cell “D18”. Select the cell “D18,” where an EXACT function needs to be applied.

EXACT Example 3-1

  • Click the insert function button (fx) under the formula toolbar, and a dialog box will appear, type the keyword “EXACT” in the search for a function box, and the EXACT function will appear in Select a function box. Double-click on an EXACT function.

EXACT function 3-2

  • A dialog box appears where arguments for the EXACT function need to be filled or entered, i.e., =EXACT(B18, C18). Click ok once it is entered. Here, I need to compare between B18 & C18 cells; hence it is entered in the function arguments of an exact function.

EXACT Example 3-3

  • An EXACT function returns a TRUE value because both cells contain the same value, i.e., 99. Here Exact function ignores the format pattern of cells.

EXACT Example 3-4

  • In the example below, the EXACT function returns the TRUE value because both cells contain the same date value, i.e., Cell “B19” contains the date value (5/16/18) in number or general format. In contrast, in cell “C19,” the date value is present in date format. Here Exact function ignores the format pattern of cells.

EXACT Example 3-5

Things to Remember

  • The EXACT function is case-sensitive. i.e., Capital letters are not equal to small letters.
  • The exact function in Excel returns the false value if there is a difference in case pattern between text strings, i.e., sentence case, lowercase, uppercase, proper case & toggle case.
  • The exact function in Excel returns the false value if there is Leading or trailing space & Extra space between alphabets in the text between two text strings.
  • EXACT Function in Excel ignores the formatting difference between the two cells.

E.G. 0.08 = 8%

$99 = 99

Recommended Articles

This has been a guide to the EXACT function in Excel. Here we discuss the EXACT Formula in Excel and how to use the EXACT Function in Excel, along with practical examples and downloadable Excel templates. You can also go through our other suggested articles –

  1. EVEN Excel Function
  2. HLOOKUP in Excel
  3. SEARCH Formula in Excel
  4. PMT Function in Excel

Primary Sidebar

Footer

Follow us!
  • EDUCBA FacebookEDUCBA TwitterEDUCBA LinkedINEDUCBA Instagram
  • EDUCBA YoutubeEDUCBA CourseraEDUCBA Udemy
APPS
EDUCBA Android AppEDUCBA iOS App
Blog
  • Blog
  • Free Tutorials
  • About us
  • Contact us
  • Log in
Courses
  • Enterprise Solutions
  • Free Courses
  • Explore Programs
  • All Courses
  • All in One Bundles
  • Sign up
Email
  • [email protected]

ISO 10004:2018 & ISO 9001:2015 Certified

© 2025 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
Loading . . .
Quiz
Question:

Answer:

Quiz Result
Total QuestionsCorrect AnswersWrong AnswersPercentage

Explore 1000+ varieties of Mock tests View more

EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA
Free Excel Course

Excel functions, formula, charts, formatting creating excel dashboard & others

By continuing above step, you agree to our Terms of Use and Privacy Policy.
*Please provide your correct email id. Login details for this Free course will be emailed to you
EDUCBA

*Please provide your correct email id. Login details for this Free course will be emailed to you

EDUCBA

Download EXACT Function Excel Template

EDUCBA Login

Forgot Password?

EDUCBA

Download EXACT Function Excel Template

EDUCBA

डाउनलोड EXACT Function Excel Template

🚀 Limited Time Offer! - 🎁 ENROLL NOW