Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DC DC is offline
external usenet poster
 
Posts: 42
Default remove duplicate rows but keeping all columns

I have several columns of information (i.e addresses) and one of the columns
has duplicate numbers. I want to remove the duplicates rows and retain the
other columns. I tried to do the Advanced filter but could specify which
column I needed duplicates to be searched. Any help is appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default remove duplicate rows but keeping all columns

What do you mean by "remove duplicate rows but retain the other columns"?

You want to remove duplicate rows in just one column without removing the
rows in other columns?

You would have to move that column to another sheet in order to do that then
use.......................

DataFilterAdvanced Filter.

Click on Unique Records only and either filter in place or copy to another
location.

If you want to remove all rows with duplicates in a particular
column..........

DataFilterAdvanced Filter.

From the List Range Refedit box select just a column, say column C

Click on Unique Records only and either filter in place or copy to another
location.


Gord Dibben MS Excel MVP

On Tue, 9 Jun 2009 09:40:01 -0700, DC wrote:

I have several columns of information (i.e addresses) and one of the columns
has duplicate numbers. I want to remove the duplicates rows and retain the
other columns. I tried to do the Advanced filter but could specify which
column I needed duplicates to be searched. Any help is appreciated.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DC DC is offline
external usenet poster
 
Posts: 42
Default remove duplicate rows but keeping all columns

Thanks for the response. Example: I have two rows with the mostly the same
information and I want to remove one of them. One of the columns is the
field I want to search on where the duplicate occurs. Of course, I have
several hundred rows with the same situation. So...if I have 200 rows and
all are duplicated twice, I want to get just the list of 100 rows.

EX: (I want to be able to sort on column C, phone#, and remove all rows
with that duplicate.)

Joe 123 Main Street 555-1212
Joe 123 Main Street 555-1212

Thanks,

"Gord Dibben" wrote:

What do you mean by "remove duplicate rows but retain the other columns"?

You want to remove duplicate rows in just one column without removing the
rows in other columns?

You would have to move that column to another sheet in order to do that then
use.......................

DataFilterAdvanced Filter.

Click on Unique Records only and either filter in place or copy to another
location.

If you want to remove all rows with duplicates in a particular
column..........

DataFilterAdvanced Filter.

From the List Range Refedit box select just a column, say column C

Click on Unique Records only and either filter in place or copy to another
location.


Gord Dibben MS Excel MVP

On Tue, 9 Jun 2009 09:40:01 -0700, DC wrote:

I have several columns of information (i.e addresses) and one of the columns
has duplicate numbers. I want to remove the duplicates rows and retain the
other columns. I tried to do the Advanced filter but could specify which
column I needed duplicates to be searched. Any help is appreciated.



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default remove duplicate rows but keeping all columns

Then use the advanced filter as second scenario below.

BTW............you don't have to sort first.


Gord

On Tue, 9 Jun 2009 11:19:01 -0700, DC wrote:

Thanks for the response. Example: I have two rows with the mostly the same
information and I want to remove one of them. One of the columns is the
field I want to search on where the duplicate occurs. Of course, I have
several hundred rows with the same situation. So...if I have 200 rows and
all are duplicated twice, I want to get just the list of 100 rows.

EX: (I want to be able to sort on column C, phone#, and remove all rows
with that duplicate.)

Joe 123 Main Street 555-1212
Joe 123 Main Street 555-1212

Thanks,

"Gord Dibben" wrote:

What do you mean by "remove duplicate rows but retain the other columns"?

You want to remove duplicate rows in just one column without removing the
rows in other columns?

You would have to move that column to another sheet in order to do that then
use.......................

DataFilterAdvanced Filter.

Click on Unique Records only and either filter in place or copy to another
location.

If you want to remove all rows with duplicates in a particular
column..........

DataFilterAdvanced Filter.

From the List Range Refedit box select just a column, say column C

Click on Unique Records only and either filter in place or copy to another
location.


Gord Dibben MS Excel MVP

On Tue, 9 Jun 2009 09:40:01 -0700, DC wrote:

I have several columns of information (i.e addresses) and one of the columns
has duplicate numbers. I want to remove the duplicates rows and retain the
other columns. I tried to do the Advanced filter but could specify which
column I needed duplicates to be searched. Any help is appreciated.




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
Keeping certain columns/rows visible MichaelPhilips Excel Discussion (Misc queries) 2 January 8th 09 05:40 PM
How do I sort rows keeping columns together? A123 Excel Worksheet Functions 2 June 20th 08 12:33 AM
How do I remove Duplicate rows? 85225 Excel Discussion (Misc queries) 15 March 9th 07 11:41 PM
Remove duplicate rows based on 1 specific criterion Sweepea Excel Discussion (Misc queries) 5 August 30th 06 04:28 PM
Keeping duplicate rows Daniell Excel Worksheet Functions 2 April 18th 05 06:56 AM


All times are GMT +1. The time now is 12:18 AM.

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"