Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Compare and delete duplicate records
We have 2 Excel 2007 spreadsheets of data.
List 1 contains 12,000 records and we wish to remove the contents of list 2 which contains 3,000 records. Is there a simple way of doing this? |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Compare and delete duplicate records
Not sure how it is duplicated - does your list of 3000 records contain
records which are duplicated (among themselves)? Or does the shorter list contain records which are also in the longer list, and you want to get rid of these duplicates? You can put a formula in a helper column which looks to see if the record on that row is contained within the longer list (using MATCH with a column which has unique values - I can't give you a specific formula because you have not described your data) and return something like "remove". Then you can apply autofilter to that column and select "remove", then highlight all the visible rows and Edit | Delete Row. When you remove the autofilter you should be left with the non- duplicate records. Hope this helps. Pete On Jun 16, 4:18*pm, charles wrote: We have 2 Excel 2007 spreadsheets of data. List 1 contains 12,000 records and we wish to remove the contents of list 2 which contains 3,000 records. Is there a simple way of doing this? |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Compare and delete duplicate records
Pete
Thanks for coming back to me. Yes the latter, the list 2 contains 3000 records which we want deleted out of the 12000 list 1. Does this make more sense? "Pete_UK" wrote: Not sure how it is duplicated - does your list of 3000 records contain records which are duplicated (among themselves)? Or does the shorter list contain records which are also in the longer list, and you want to get rid of these duplicates? You can put a formula in a helper column which looks to see if the record on that row is contained within the longer list (using MATCH with a column which has unique values - I can't give you a specific formula because you have not described your data) and return something like "remove". Then you can apply autofilter to that column and select "remove", then highlight all the visible rows and Edit | Delete Row. When you remove the autofilter you should be left with the non- duplicate records. Hope this helps. Pete On Jun 16, 4:18 pm, charles wrote: We have 2 Excel 2007 spreadsheets of data. List 1 contains 12,000 records and we wish to remove the contents of list 2 which contains 3,000 records. Is there a simple way of doing this? |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Compare and delete duplicate records
Yes, my second paragraph describes how to do it. You would have
something like: =IF(ISNA(MATCH(A1,Sheet1!A:A,0)),"not present","duplicate") in a helper column in Sheet2, and you would copy this down your 3000 rows. This assumes that column A contains the unique identifier in both lists, and the formula will return "not present" for a unique record and "duplicate" for duplicated records. As advised earlier, you can then use autofilter on this helper column to remove the "duplicate" records. Hope this helps. Pete On Jun 16, 6:14*pm, charles wrote: Pete Thanks for coming back to me. Yes the latter, the list 2 contains 3000 records which we want deleted out of the 12000 list 1. Does this make more sense? "Pete_UK" wrote: Not sure how it is duplicated - does your list of 3000 records contain records which are duplicated (among themselves)? Or does the shorter list contain records which are also in the longer list, and you want to get rid of these duplicates? You can put a formula in a helper column which looks to see if the record on that row is contained within the longer list (using MATCH with a column which has unique values - I can't give you a specific formula because you have not described your data) and return something like "remove". Then you can apply autofilter to that column and select "remove", then highlight all the visible rows and Edit | Delete Row. When you remove the autofilter you should be left with the non- duplicate records. Hope this helps. Pete On Jun 16, 4:18 pm, charles wrote: We have 2 Excel 2007 spreadsheets of data. List 1 contains 12,000 records and we wish to remove the contents of list 2 which contains 3,000 records. Is there a simple way of doing this?- Hide quoted text - - Show quoted text - |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Delete Duplicate records | Excel Worksheet Functions | |||
how to delete duplicate records in a row | Setting up and Configuration of Excel | |||
How do I delete duplicate records from an entire Excel workbook? | Excel Discussion (Misc queries) | |||
automatically delete records w/duplicate address in excel | Excel Discussion (Misc queries) | |||
How to delete duplicate records when I merge two lists (deleting . | Excel Worksheet Functions |