Skip to main content

How to easily compare cells by case sensitive or insensitive in Excel?

Supposing you have two lists with some duplicates in the same rows, and now you want to compare these two lists by case sensitive or insensitive as below screenshots shown, how can you quickly handle this task in Excel?

Compare case sensitive
Compare case insensitive
doc compare cells by sensitive 1
doc compare cells by sensitive 2

Compare cells case sensitive or insensitive with formulas

Compare two lists case sensitive or insensitive with Compare Range function


arrow blue right bubble Compare cells case sensitive or insensitive with formulas

In excel, to compare cells by case sensitive or insensitive, you can use formulas to solve.

1. Select a blank cell next to the compare cells, and type this formula =AND(EXACT(E1:E6,F1:F6)) into it, press Enter key, then drag the auto fill handle down to the cells. And False means the relative cells are not duplicate in case sensitive, and True means the cells are duplicate in case sensitive. See screenshots:

doc compare cells by sensitive 3

Tip:

1. To compare cells case insensitive, you can use this formula =AND(A1=B1), remember to press Shift + Ctrl + Enter keys to get the correct result.

2. In above formulas, E1:E6 and F1:F6 are the two lists of the cells.

formula Never need to worry about long long formulas in Excel anymore! Kutools for Excel's Auto Text can add all formulas to a group
as auto text, and liberate your brain!       Know About Auto Text     Get Free Trial

arrow blue right bubble Compare two lists case sensitive or insensitive with Compare Range function

But in sometimes, you may want to compare two lists case sensitive whose duplicates are not in the same rows as below screenshots shown, in this case, you can use Kutoolsfor Excel’s Select Same & Different Cells function.

Compare case sensitive
Compare case insensitive
doc compare cells by sensitive 10
doc compare cells by sensitive 11
Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After free installing Kutools for Excel, please do as below:

1. Select the first list, and then click Kutools > Select > Select Same & Different Cells. See screenshot:

doc compare cells by sensitive 5

2. Then in the Compare Ranges dialog, following below operations. See screenshot:

doc compare cells by sensitive 6
1) Select the second list to the According to box;

2) Check Each row from the Based on section; (if you do not want to compare the headers, check My data has headers option);

3) Check Same Values in the Find section, if you want to find the unique ones, check Different Values;

4) Specify the filled color and font color if you want to highlight the selected cells;

5) Check Case sensitive to compare two lists by case sensitive.

3. And click Ok, and a dialog pops out to remind you the number of selected cells.

doc compare cells by sensitive 7

4. Click OK to close dialogs. And you can see only the duplicates which match case sensitive are selected and highlighted.

doc compare cells by sensitive 8

Tip:If you uncheck Case sensitive in Compare Ranges dialog, you can see the comparing result:

doc compare cells by sensitive 9


Relative Articles:

Best Office Productivity Tools

Popular Features: Find, Highlight or Identify Duplicates   |  Delete Blank Rows   |  Combine Columns or Cells without Losing Data   |   Round without Formula ...
Super Lookup: Multiple Criteria VLookup    Multiple Value VLookup  |   VLookup Across Multiple Sheets   |   Fuzzy Lookup ....
Advanced Drop-down List: Quickly Create Drop Down List   |  Dependent Drop Down List   |  Multi-select Drop Down List ....
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  |  Compare Ranges & Columns ...
Featured Features: Grid Focus   |  Design View   |   Big Formula Bar    Workbook & Sheet Manager   |  Resource Library (Auto Text)   |  Date Picker   |  Combine Worksheets   |  Encrypt/Decrypt Cells    Send Emails by List   |  Super Filter   |   Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters, ...)   |   50+ Chart Types (Gantt Chart, ...)   |   40+ Practical Formulas (Calculate age based on birthday, ...)   |   19 Insertion Tools (Insert QR Code, Insert Picture from Path, ...)   |   12 Conversion Tools (Numbers to Words, Currency Conversion, ...)   |   7 Merge & Split Tools (Advanced Combine Rows, Split Cells, ...)   |   ... and more

Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time.  Click Here to Get The Feature You Need The Most...

kte tab 201905


Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations