Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to delete duplicate records

Hi,

I have a question - how would you write a macro to delete duplicate rows, depending on one specific column to determine duplicates?

Thank you for your help!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Macro to delete duplicate records

http://www.cpearson.com/excel/deleting.htm
at Chip Pearson's site. Page has a section on deleting duplicate rows.

--
Regards,
Tom Ogilvy

"Horselover" wrote in message
...
Hi,

I have a question - how would you write a macro to delete duplicate rows,

depending on one specific column to determine duplicates?

Thank you for your help!



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro to delete duplicate records

Hi Tom,

What about if you have 10 duplicates in Column 1 and then you need to
find the ones that are dplicated in column 2 as not all match, what do
you do?

i.e

1 A
1 B
1 A
2 A
2 B
2 A


would leave you with


1 B
2 B


---
Message posted from http://www.ExcelForum.com/

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
Delete records when certain records have duplicate column data JVroom New Users to Excel 1 January 26th 09 06:23 PM
Compare and delete duplicate records charles Excel Worksheet Functions 3 June 17th 08 11:46 AM
Delete Duplicate records Finger Tips Excel Worksheet Functions 2 April 29th 07 08:42 PM
how to delete duplicate records in a row Christian Setting up and Configuration of Excel 2 July 21st 06 01:39 AM
Delete duplicate records in the table Sarah G. Excel Programming 2 June 14th 04 04:53 PM


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