How to delete duplicate data among multiple columns in Excel?

elephant

New Member
Joined
Mar 24, 2013
Messages
2
The table represents keywords of each item. keywords have duplicate entries of each item, and one keyword is placed in one cell, different item can have different number of keywords. how should i delete the duplicates of each item in excel.
for example:
item keywords
A -> 123 234 456 123 234
B -> 23 456 23 567

and after deleting duplicate keywords, it should be:
item keywords
A -> 123 456 234
B -> 23 456 567
 

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
Try using an advanced filter from the "Data" menu and selecting the "Unique records only" checkbox. You can filter in place or copy to a new place.
 
Upvote 0
You could row by row, copy, paste special transpose, filter unique records only, copy, paste special transpose. That would get your unique keywords by row.

I tried VBA to do this but was running into problems. It worked for me manually though it may be too long winded if you have a vast amount of data.
 
Upvote 0

Forum statistics

Threads
1,223,249
Messages
6,171,031
Members
452,374
Latest member
keccles

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top