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!


Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
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.