Skip to main content
Solved

remove duplicates values from Excel


mr_fme
Enthusiast
Forum|alt.badge.img+8

Hi,

 

I have one column in my excel file that show tha values like below:

 

VARIEDADE

 

ABB4, ABB2, ABB4, ABB5

ABB4

ABB2, ABB5

ABB2, ABB2

ABB4, ABB4, ABB4, ABB4

 

The two last lines have the same value separated by comma. I would like to simplify like below:

 

ABB2

ABB4

 

How Can I do this?

 

Thank´s

Best answer by dustin

I would break the values out into a list using AttributeSplitter, remove the duplicates via ListDuplicateRemover, then concatenate the unique values back into the original attribute using ListConcatenator.image

View original
Did this help you find an answer to your question?

3 replies

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • Best Answer
  • July 27, 2022

I would break the values out into a list using AttributeSplitter, remove the duplicates via ListDuplicateRemover, then concatenate the unique values back into the original attribute using ListConcatenator.image


mr_fme
Enthusiast
Forum|alt.badge.img+8
  • Author
  • Enthusiast
  • July 27, 2022
dustin wrote:

I would break the values out into a list using AttributeSplitter, remove the duplicates via ListDuplicateRemover, then concatenate the unique values back into the original attribute using ListConcatenator.image

Thank´s very good!!


devbyisty
Participant
Forum|alt.badge.img
  • Participant
  • April 11, 2025

You can easily remove duplicate values from your comma-separated list using an online tool. In Excel, you can also use:
=TEXTJOIN(", ", TRUE, UNIQUE(TRIM(TEXTSPLIT(A1, ","))))
This formula splits the values, removes duplicates, and joins them back. Hope this helps!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings