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

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
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
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.

But advanced filter works with multiple rows. but i want to delete the particular cells.
 
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,216,303
Messages
6,129,983
Members
449,548
Latest member
lharr28

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