Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default remove all duplicate records

Is there a way to remove the duplicate record(s) and the original record at
the same time in a worksheet? Thanks.
--
DaveB

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default remove all duplicate records

Say we have records in column A from A2 thru A100. In B2 enter:
=COUNTIF(A$2:A$100,A2) and copy down. For example:

animal spec
dog 2
cat 1
rat 1
hat 1
bat 2
bat 2
dog 2

Next set an AutoFilter on column B and filter:
Custom... Not equals 1

Then delete the visible rows (they will have blue row numbers). Then remove
the AutoFilter to reveal:

animal spec
cat 1
rat 1
hat 1

--
Gary''s Student - gsnu200903


"dberger16" wrote:

Is there a way to remove the duplicate record(s) and the original record at
the same time in a worksheet? Thanks.
--
DaveB

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
How do i remove duplicate records in Excel 2007 ComputerPussycat Excel Discussion (Misc queries) 1 August 20th 08 03:36 AM
remove duplicate records Valori Excel Discussion (Misc queries) 1 April 23rd 07 08:04 PM
how do I remove both duplicate records in excel Mtgdbsmgr Excel Worksheet Functions 1 December 8th 06 07:44 PM
remove duplicate records in Excel file KAatIGA Excel Discussion (Misc queries) 1 July 28th 06 08:31 PM
How do I remove or filter out duplicate records in a sheet? geo Excel Discussion (Misc queries) 4 February 15th 06 10:50 PM


All times are GMT +1. The time now is 04:04 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"