LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Report Post  
Posted to microsoft.public.excel.misc
Jim Rech
 
Posts: n/a
Default Extracting the Duplicate Records

Just use Data, Filter, Advanced Filter. Select the copy to another location
option and delete duplicates. Then you'll have a copy of the original list
minus duplicates.

--
Jim
"Santhosh" wrote in message
...
| How can i extract the duplicate data from a excel sheet which has 5000 to
| 6000 records...
|
| currently i have planned to write the code using macros in the following
way
|
| dim duprecords()
| rowc=1
| do while not isempty(cells(rowc,1))
| rowc1 = rowc + 1
| do while not isempty(cells(rowc1,1))
| if cellls(rowc,1).value = cells(roc1,1).value then
| cells(rowc1,1).entirerow.delete
| else
| rowc1 = rowc1 +1
| end if
| loop
| rowc = rowc +1
| loop
| end sub
|
| is this procedure will work fast and efficient. Suggest me if there any
| alternative for this...
|
| Thanks in advance
| Santhosh


 
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
Deleting duplicate records Keensie Excel Discussion (Misc queries) 1 April 21st 06 08:12 PM
Find duplicate records in Excel 2003 Wayne Excel Discussion (Misc queries) 1 March 29th 06 12:47 AM
Deleting specific records [email protected] Excel Discussion (Misc queries) 6 June 22nd 05 11:35 PM
deleting duplicate records in a mail merge Mimi Excel Discussion (Misc queries) 1 April 7th 05 05:55 PM
Duplicate records in Excel Sheidsa Excel Discussion (Misc queries) 1 November 30th 04 12:23 AM


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

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"