#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 447
Default Finding Duplicates

Excel 2003

I use Excel for a mailing database. Because there are so many "records"
(approx 6,000) it is likely that there will be different people who share a
name. I don't want to filter out John Hanks at Company XYZ just because the
advanced filter finds a John Hanks at ABC Company.

So question 1 is how does Excel determine which will be filtered out--in
what order does it work. I'd like to understand which John Hanks would be
determined to be the duplicate.

Question 2 is how do I tell Excel that I only want it to look at the company
name column when determining whether the record is a duplicate.

Thanks so much for any help!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 527
Default Finding Duplicates

Karen

Try Data, Filter, Advanced Filter, Click Copy to a new place and choose
Unique Records Only.

You could also copy in place, but if I was creating a mailing list I'd feel
safer with the extracted data, but someone will probably know that this is
unnecessary.

One point still examing your data. "John" and "John " with a space are
considered different records because they are not identical.

Peter

"Karen" wrote:

Excel 2003

I use Excel for a mailing database. Because there are so many "records"
(approx 6,000) it is likely that there will be different people who share a
name. I don't want to filter out John Hanks at Company XYZ just because the
advanced filter finds a John Hanks at ABC Company.

So question 1 is how does Excel determine which will be filtered out--in
what order does it work. I'd like to understand which John Hanks would be
determined to be the duplicate.

Question 2 is how do I tell Excel that I only want it to look at the company
name column when determining whether the record is a duplicate.

Thanks so much for any help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Finding Duplicates

If you sorted your records by name and by company (assume columns A
and B), then you could introduce a formula like this in a helper
column:

=IF(AND(A2=A1,B2=B1),"duplicate","")

and copy this down. This will only flag duplicate if both the name and
the company name in two adjacent rows are the same. If you wanted to
delete these duplicates, then you could apply autofilter to the helper
column to select "duplicate". Then highlight the visible records and
Edit | Delete Row, and then select "All" from the filter pull-down.

Hope this helps.

Pete

On Apr 3, 11:06*pm, Karen wrote:
Excel 2003

I use Excel for a mailing database. Because there are so many "records"
(approx 6,000) it is likely that there will be different people who share a
name. I don't want to filter out John Hanks at Company XYZ just because the
advanced filter finds a John Hanks at ABC Company.

So question 1 is how does Excel determine which will be filtered out--in
what order does it work. I'd like to understand which John Hanks would be
determined to be the duplicate.

Question 2 is how do I tell Excel that I only want it to look at the company
name column when determining whether the record is a duplicate.

Thanks so much for any help!


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 447
Default Finding Duplicates

Brilliant, thanks Pete!

"Pete_UK" wrote:

If you sorted your records by name and by company (assume columns A
and B), then you could introduce a formula like this in a helper
column:

=IF(AND(A2=A1,B2=B1),"duplicate","")

and copy this down. This will only flag duplicate if both the name and
the company name in two adjacent rows are the same. If you wanted to
delete these duplicates, then you could apply autofilter to the helper
column to select "duplicate". Then highlight the visible records and
Edit | Delete Row, and then select "All" from the filter pull-down.

Hope this helps.

Pete

On Apr 3, 11:06 pm, Karen wrote:
Excel 2003

I use Excel for a mailing database. Because there are so many "records"
(approx 6,000) it is likely that there will be different people who share a
name. I don't want to filter out John Hanks at Company XYZ just because the
advanced filter finds a John Hanks at ABC Company.

So question 1 is how does Excel determine which will be filtered out--in
what order does it work. I'd like to understand which John Hanks would be
determined to be the duplicate.

Question 2 is how do I tell Excel that I only want it to look at the company
name column when determining whether the record is a duplicate.

Thanks so much for any help!



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Finding Duplicates

You're welcome, Karen - thanks for taking the trouble to feed back.

On Apr 7, 10:25*pm, Karen wrote:
Brilliant, thanks Pete!



"Pete_UK" wrote:
If you sorted your records by name and by company (assume columns A
and B), then you could introduce a formula like this in a helper
column:


=IF(AND(A2=A1,B2=B1),"duplicate","")


and copy this down. This will only flag duplicate if both the name and
the company name in two adjacent rows are the same. If you wanted to
delete these duplicates, then you could apply autofilter to the helper
column to select "duplicate". Then highlight the visible records and
Edit | Delete Row, and then select "All" from the filter pull-down.


Hope this helps.


Pete


On Apr 3, 11:06 pm, Karen wrote:
Excel 2003


I use Excel for a mailing database. Because there are so many "records"
(approx 6,000) it is likely that there will be different people who share a
name. I don't want to filter out John Hanks at Company XYZ just because the
advanced filter finds a John Hanks at ABC Company.


So question 1 is how does Excel determine which will be filtered out--in
what order does it work. I'd like to understand which John Hanks would be
determined to be the duplicate.


Question 2 is how do I tell Excel that I only want it to look at the company
name column when determining whether the record is a duplicate.


Thanks so much for any help!- Hide quoted text -


- Show quoted text -


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Finding Non-Duplicates calibansfolly Excel Worksheet Functions 2 July 16th 07 04:40 PM
help...finding duplicates mj Excel Worksheet Functions 3 March 9th 06 06:41 PM
Finding Duplicates TLT Excel Worksheet Functions 2 February 23rd 06 04:06 PM
Finding duplicates Ted Metro Excel Worksheet Functions 2 November 21st 05 07:09 PM
Finding Duplicates fluffy Excel Worksheet Functions 2 September 16th 05 03:07 PM


All times are GMT +1. The time now is 04:00 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"