Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

General Discussions

Discuss any topics that are not product-specific here.

Compare 2 rows and insert a new column

Soraju
7 - Meteor

Hello! 

could someone please help me with the below scenario?

 

Scenario : I have a data set with duplicate SKU numbers in a column. I want to check the whole column and if the SKU shows up multiple times then I want a new column to say -Duplicate, else It should say Unique.

 

Example :

SKUDescription
1234Toy
3456Beverage
1234Toy
8657Paper
9058Soda
3456Beverage
7685Wrap
9846Flower

 

And I would like a new column to find out unique/duplicate:

SKUDescriptionNew column 
1234ToyDuplicate
3456BeverageDuplicate
1234ToyDuplicate
8657PaperUnique
9058SodaUnique
3456BeverageDuplicate
7685WrapUnique
9846FlowerUnique

 

2 REPLIES 2
atcodedog05
22 - Nova
22 - Nova

Hi @Soraju 

 

Here is one way of doing it.

 

atcodedog05_0-1647455709408.png

 

Hope this helps : )

 

Soraju
7 - Meteor

Thank you for your prompt response. I will try that.

Labels