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?
Recommended Productivity Tools for Excel/Office
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:
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.
|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
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 Compare Ranges function.
|Kutools for Excel, with more than 120 handy Excel functions, enhance your working efficiency and save your working time.|
After free installing Kutools for Excel, please do as below:
1. Select the first list, and then click Kutools > Compare Ranges. See screenshot:
2. Then in the Compare Ranges dialog, following below operations. See screenshot:
2) Check My data has headers if two ranges contain the same header;
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.
4. Click OK to close dialogs. And you can see only the duplicates which match case sensitive are selected and highlighted.
Tip：If you uncheck Case sensitive in Compare Ranges dialog, you can see the comparing result:
- How to paste values to visible cells only in Excel?
- How to count and remove duplicates from a list in Excel?
- How to remove all duplicates but keep only one in Excel?
- How to count unique/duplicate dates in an Excel column?
Recommended Productivity Tools
Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.
Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!
300 New Features for Excel, Make Excel Much Easy and Powerful:
- Merge Cell/Rows/Columns without Losing Data.
- Combine and Consolidate Multiple Sheets and Workbooks.
- Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
- Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
- More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...