#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Duplicate cells

nLooking for a way to delete all but one row that contains one duplicate
cell. In other words I have a list of names and addresses. Several of the
people are at the same address. I only want one name for each address and it
doesn't matter which name is used for that address. Any ideas?

Casey
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Duplicate cells

Say your addresses are in column B.

Then insert a new column C and put this in C1:
=countif($b$1:b1,b1)
and drag down that column

You'll see a 1 for the first address in the list. And each additional address
will be incremented by 1 (1, 2, 3, ...)

Then select column C and apply data|filter|autofilter

Filter to show the cells that are greater than 1.

Delete those visible rows.

Be careful.

If you have an address:
123 Main Street
In Chicago, you don't want to delete the records with
123 Main Street
in New York.



cdavis82 wrote:

nLooking for a way to delete all but one row that contains one duplicate
cell. In other words I have a list of names and addresses. Several of the
people are at the same address. I only want one name for each address and it
doesn't matter which name is used for that address. Any ideas?

Casey


--

Dave Peterson
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
duplicate cells Vegs Excel Discussion (Misc queries) 1 June 27th 06 09:06 PM
How do I delete duplicate cells? AYANG Excel Worksheet Functions 1 June 27th 06 06:29 AM
finding & filtering out duplicate cells Jackie Excel Discussion (Misc queries) 4 October 21st 05 06:17 AM
Is there any way of searching for duplicate cells? Lisa Excel Discussion (Misc queries) 1 October 3rd 05 09:19 AM
how can I duplicate or copy a workbook then divide selected cells. macros excel... duplication and calculat Excel Discussion (Misc queries) 1 November 29th 04 03:16 PM


All times are GMT +1. The time now is 02:08 PM.

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

About Us

"It's about Microsoft Excel"