ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Remove Duplicates; How can I get a list of items removed? (https://www.excelbanter.com/excel-discussion-misc-queries/147115-remove-duplicates%3B-how-can-i-get-list-items-removed.html)

Kjenkins

Remove Duplicates; How can I get a list of items removed?
 
Its good to remove the duplicates. However, I would lilke to get a list of
the duplicates that were removed. How can I get this list?

Peo Sjoblom

Remove Duplicates; How can I get a list of items removed?
 
Use the original list and then compare them with a simple is formula
appended to the original list, so if the original list is in A2:A500, then
insert temporarily a blank B column or use the one that exists if it is
empty, assume the list w/o duplicates are in Sheet2!A2:A480

=COUNTIF(Sheet2!$A$2:$A$480,A2)1

copy down the formula, then apply datafilterautofilter (make sure you have
headers) and filter on B for TRUE, then just copy the filtered list
somewhere else, that is the list with duplicates



--
Regards,

Peo Sjoblom

"Kjenkins" wrote in message
...
Its good to remove the duplicates. However, I would lilke to get a list
of
the duplicates that were removed. How can I get this list?




Teethless mama

Remove Duplicates; How can I get a list of items removed?
 
Post a sample of your data


"Kjenkins" wrote:

Its good to remove the duplicates. However, I would lilke to get a list of
the duplicates that were removed. How can I get this list?



All times are GMT +1. The time now is 05:40 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com