Pinterest Pixel

EXACT Formula in Excel

  What does it do? Compares two texts in a case-sensitive manner if they are the same... read more

Download Excel Workbook
Bryan
Posted on

Steps To Follow

Overview

EXACT Formula in Excel | MyExcelOnline EXACT Formula in Excel | MyExcelOnline

 

What does it do?

Compares two texts in a case-sensitive manner if they are the same

Formula breakdown:

=EXACT(text1, text2)

What it means:

=EXACT(first text to be compared, second text to be compared)


We can easily compare two texts if they are equal or not with the EXACT formula.

But I can hear you say now, hold on, I can easily do that with the equal (sign) operator! The difference is, equal compares text and does not consider case sensitivity. However the EXACT formula compares text in a case-sensitive manner.

I explain how you can do this below:

EXACT Formula in Excel | MyExcelOnline

Download excel workbookEXACT-FORMULA.xlsx

STEP 1: We need to enter the EXACT function in a blank cell:

=EXACT(

EXACT Formula in Excel

 

STEP 2: The EXACT arguments:

text1

What is the first text to be compared?

Select the cell containing leftmost text that you want to compare:

=EXACT(C9,

EXACT Formula in Excel

text2

What is the second text to be compared?

See also  Remove Second Hyphen with Excel's SUBSTITUTE Formula

Select the cell containing rightmost text that you want to compare:

=EXACT(C9, D9)

EXACT Formula in Excel

 

Apply the same formula to the rest of the cells by dragging the lower right corner downwards.

You can see that the Excel values that have different capital letters have a FALSE result! (e.g. EXCEL vs. ExCEL)

EXACT Formula in Excel

 

SORT Formula in Excel

 

If you like this Excel tip, please share it
EXACT Formula in Excel | MyExcelOnline EXACT Formula in Excel | MyExcelOnline
EXACT Formula in Excel | MyExcelOnline
Bryan

Bryan is a best-selling book author of the 101 Excel Series paperback books.

See also  How to Delete Every Other Row in Excel - Top 3 Methods

Get Video Training

Advance your Microsoft Excel & Office Skills with the MyExcelOnline Academy!

Dramatically Reduce Repetition, Stress, and Overtime!
Exponentially Increase Your Chances of a Promotion, Pay Raise or New Job!

Learn in as little as 5 minutes a day or on your schedule.

Learn More!

Share to...