Skip to main content
Solved

remove duplicates values from Excel

  • July 27, 2022
  • 3 replies
  • 63 views

mr_fme
Enthusiast
Forum|alt.badge.img+9

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

dustin
Influencer
Forum|alt.badge.img+31
  • 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+9
  • Author
  • Enthusiast
  • 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

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!