How to remove duplicate data (separated by semicolon) in the excel cell if found in Sheet1?
How to remove duplicate data (separated by semicolon) in the excel cell if found in Sheet1?
Could you post some examples?
Your description leaves out some details that would help to know; however, let's start with this and see how close it comes to what you want. With Sheet1 active, run this macro (change the red highlighted range to the actual range of cells you want to process)...
Please Login or Register to view this content.
Last edited by Rick Rothstein; 10-07-2019 at 10:31 PM.
Thanks, Rick it worked but if there is space between semicolon then the code does not work.
Saying it doesn't work gives us no clue what happened that you did not want (did the code error out? did it post wrong results? something else?). Let me take a guess... does this fix your problem (if not, provide more details)...
Please Login or Register to view this content.
Thanks it worked. But in some cells there are double semicolon, in some cells cell data started with a semicolon or ended with a semicolon. And in some cells there is only one semicolon.
Does this modification of my code do what you want...
Please Login or Register to view this content.
Thanks a million.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks