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:


The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
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!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.