How does remove duplicates work?

tonywatsonhelp

Well-known Member
Joined
Feb 24, 2014
Messages
3,210
Office Version
  1. 365
  2. 2019
  3. 2016
Platform
  1. Windows
Hi Everyone,
A bit of a different one,
I just want to know how remove duplicates decides which duplicates to remove?

Lets say I have 5 duplicates so rows 1 to 5.
if I remove duplicates does it remove 1 to 4 and leave 5? 2 to 5 and leave 1? or is it random of some other rule?

thanks

Tony
 

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
first position of duplicates will stay the rest will be removed

[Table="width:, class:head"]
[tr=bgcolor:#FFFFFF][td]A[/td][td]
1​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]A[/td][td]
2​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]A[/td][td]
3​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]B[/td][td]
1​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]B[/td][td]
2​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]C[/td][td]
1​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]C[/td][td]
2​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]C[/td][td]
3​
[/td][/tr]

[tr=bgcolor:#FFFFFF][td]C[/td][td]
4​
[/td][/tr]
[/table]


select range
choose remove duplicates
un-check B column (second)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,939
Messages
6,175,532
Members
452,652
Latest member
eduedu

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