Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to remove duplicates that are case sensitive in Excel?

doc remove case sensitive 1

Normally, the Remove Duplicates feature in Excel can help you remove the duplicate values quickly and easily, however, this feature is not case sensitive. Sometimes, you want to remove duplicates that are case sensitive to get the following result, how could deal with this task in Excel?

Remove duplicates but keep the first that are case sensitive with formula

Remove all duplicates that are case sensitive with helper formula

Remove duplicates that are case sensitive with Kutools for Excel


Select duplicate or unique values that are case sensitive and then remove them at once:

Kutools for Excel’s Select Duplicate & Unique Cells can help you quickly select and highlight the duplicate values or unique values that are case sensitive in a range of worksheet, and then you can remove them at once.

doc remove case sensitive 14 14

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


Remove duplicates but keep the first that are case sensitive with formula


The following formula may help you to remove the case sensitive duplicate values and keep the first, please do as follows:

1. Enter this formula =IF(SUMPRODUCT(--EXACT(A2,$C$1:C1)),"",A2) into a blank cell, where you want to put the result, C2, for example, see screenshot:

doc remove case sensitive 2

Note: In the above formula, A2 is the first cell of the list excluding header that you want to use, and C1 is the cell above the cell that you put the formula.

2. Then drag the fill handle down to the cells that you want to apply this formula, and the duplicate values but the first that are case sensitive have been replaced with blank cells. See screenshot

doc remove case sensitive 3


Remove all duplicates that are case sensitive with helper formula

If you want to remove all duplicates that are case sensitive, you can apply a helper formula column, do as follows:

1. Enter the following formula into adjacent cell of your data,B2, for instance, =AND(A2<>"",SUMPRODUCT(--(EXACT(A2,$A$2:$A$15)))>1), see screenshot:

doc remove case sensitive 4

Note: In the above formula, A2 is the first cell of the data range excluding header, and A2:A15 is the used column range that you want to remove the duplicates case sensitive.

2. Then drag the fill handle down to the cells that you want to contain this formula, and all the duplicates are displayed as TRUE, and unique values are displayed as FALSE in the helper column, see screenshot:

doc remove case sensitive 5

3. And then you can filter all the duplicate values based on the helper column. Select the helper column, then click Data > Filter to activate the filter function, and click the triangle button at the right corner of cell B1, check only TRUE option in the list box, see screenshot:

doc remove case sensitive 6

4. Then click OK, only the duplicate values that are case sensitive have been filtered out, select the filtered data, then click Home > Delete > Delete Sheet Rows, see screenshot:

doc remove case sensitive 7

5. And all the rows of duplicate values that are case sensitive have been deleted at once, then you should cancel the Filter function to show the unique values, see screenshot:

doc remove case sensitive 8

6. At last, you can delete the cell contents of column B as you need.

Tips: If you want to keep the original data, you can copy the filtered data and pasted them to another location instead of removing them.


Remove duplicates that are case sensitive with Kutools for Excel

If you have Kutools for Excel, with its Select Duplicate & Unique Cells utility, you can quickly select or highlight the duplicate values that are case sensitive and then remove them at once.

Kutools for Excel : with more than 300 handy Excel add-ins, free to try with no limitation in 60 days

After installing Kutools for Excel, please do as follows:

1. Select the data range that you want to remove the case sensitive duplicates.

2. Then click Kutools > Select > Select Duplicate & Unique Cells, see screenshot:

doc remove case sensitive 10

3. In the Select Duplicate & Unique Cells dialog box, select Duplicates (Except 1 st one) or All duplicates (Including 1 st one) you need, and then check Case sensitive option, see screenshot:

doc remove case sensitive 11

4. Then click Ok button:

(1.) If you choose Duplicates (Except 1 st one) option, the duplicate values excluding the first record will be selected and then press Delete key to remove them at once, see screenshot:

doc remove case sensitive 12

(2.) If you choose All duplicates (Including 1 st one) option, all duplicates that are case sensitive are selected, and then press Delete key to remove them at once, see screenshot:

doc remove case sensitive 13

Download and free trial Kutools for Excel Now !


Demo: Remove duplicates that are case sensitive with Kutools for Excel

Kutools for Excel: with more than 200 handy Excel add-ins, free to try with no limitation in 60 days. Download and free trial Now!


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.
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.