How can I ask excel to remove duplicate rows AND select which one stays?

jamesras

New Member
Joined
Oct 22, 2015
Messages
1
I have a worksheet (about 75x2770) each 'data-object' or row has a unique excel id. There are duplicates from how the data was loaded into excel - the excel ID allows me to easily find the duplicates. I would like to keep a row based on the contents of 2 independent cells (in the same row).

the logic would be something like this:

look in column BK "where the unique excel IDs are)
tag duplicates and sort
for each set of duplicates delete all but one, based on:
````look in column AC; where it says either a, b, or c; let a=1 b=2, c=3
```` look in column X: where it will say 1, 2 or 3.
delete row(s) with same ID if 1==1, 2==2, 3==3 is not true.

would greatly appreciate any help. I'd really like to be able to do this inside excel.
Thanks,
james
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.

Forum statistics

Threads
1,216,495
Messages
6,130,979
Members
449,611
Latest member
Bushra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top