Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
delete row if duplicate
Hi Folks
I have 8000 lines to sort though, I need to get rid of duplicates Can someone tell me how to remove a complete row if the one above has two cells that are identical? thanks in advance -- Vass |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
delete row if duplicate
"Vass" wrote in message o.uk... Hi Folks I have 8000 lines to sort though, I need to get rid of duplicates Can someone tell me how to remove a complete row if the one above has two cells that are identical? thanks in advance ah ha, almost there =IF(ISNUMBER(MATCH(F231,F230,0),+IF(ISNUMBER(MATCH (H231,H230,0))),"Dup"," ")) but commas or brackets are wrong.... |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
delete row if duplicate
A macro that looks at col F and col H
sub deldups() for i = cells(rows.count, "f").end(xlup).row to 1 step -1 if cells(i,"f")=cells(i,"h") then rows(i).delete next i end sub -- Don Guillett Microsoft MVP Excel SalesAid Software "Vass" wrote in message o.uk... "Vass" wrote in message o.uk... Hi Folks I have 8000 lines to sort though, I need to get rid of duplicates Can someone tell me how to remove a complete row if the one above has two cells that are identical? thanks in advance ah ha, almost there =IF(ISNUMBER(MATCH(F231,F230,0),+IF(ISNUMBER(MATCH (H231,H230,0))),"Dup"," ")) but commas or brackets are wrong.... |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
delete row if duplicate
"Don Guillett" wrote in message ... A macro that looks at col F and col H sub deldups() for i = cells(rows.count, "f").end(xlup).row to 1 step -1 if cells(i,"f")=cells(i,"h") then rows(i).delete next i end sub -- Don Guillett cheers Don -- V |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
delete row if duplicate
Try doing an advanced data then checking the box "unique records only". You
can then select copy this to another sheet. This will get rid of dups. -- If this has helped you, please click Yes Thanks, Megan "Vass" wrote: "Vass" wrote in message o.uk... Hi Folks I have 8000 lines to sort though, I need to get rid of duplicates Can someone tell me how to remove a complete row if the one above has two cells that are identical? thanks in advance ah ha, almost there =IF(ISNUMBER(MATCH(F231,F230,0),+IF(ISNUMBER(MATCH (H231,H230,0))),"Dup"," ")) but commas or brackets are wrong.... . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Delete duplicate cell | Excel Worksheet Functions | |||
delete duplicate rows | Excel Worksheet Functions | |||
How do you delete duplicate addresses, but keep duplicate names? | Excel Discussion (Misc queries) | |||
How do I delete duplicate cells? | Excel Worksheet Functions | |||
Delete Duplicate | Excel Discussion (Misc queries) |