TransWikia.com

Excel: Selective duplicates removal

Super User Asked on December 16, 2021

I want to remove some duplicates, but not all. Let me give you an example below:

 A  B
 UK James
 UK Coco
 UK Lydia
 UK Matthew
 US Max
 US Kim
 US Anna
 FR Marie
 FR Lin

I want to turn the columns above into the following:

 C  D 
 UK James
    Coco
    Lydia
    Matthew
 US Max
    Kim
    Lulu
 FR Marie
    Lin    

Initially, I tried the ‘remove duplicates’ option in Excel, but I wanted to have Column A organised as in Column C. Is there any way to do this?

One Answer

Assuming A is sorted, then you can use =IF(A2=A1,"",A2)

Screenshot of excel with the foprmula shown

Basically you compare if the row above it is the same. If it is, shown an empty cell, if it if a different value then show that.

Answered by Hennes on December 16, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP