Match 2 columns of data and delete duplicates
Closed
Daniel Mc.
-
Nov 15, 2010 at 02:16 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Nov 15, 2010 at 09:29 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Nov 15, 2010 at 09:29 PM
Related:
- Match 2 columns of data and delete duplicates
- Tentacle locker 2 - Download - Adult games
- Fnia 2 - Download - Adult games
- Call of duty modern warfare 2 2022 free download - Download - Shooters
- Euro truck simulator 2 download free full version pc - Download - Simulation
- Feeding frenzy 2 download - Download - Arcade
1 response
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Nov 15, 2010 at 09:29 PM
Nov 15, 2010 at 09:29 PM
BEFORE DOING THIS SAVE YOUR FILE SAFELY SOME WHERE SO THAT DATA CAN BE RETRIEVED IF THERE IS A MES UP .
2. row no1. in both sheet are having column headings.
I am sure you know where to park the macro. try this macro
the macro is
2. row no1. in both sheet are having column headings.
I am sure you know where to park the macro. try this macro
the macro is
Sub test() Dim r2 As Range, j As Long, k As Long, cfind As Range, x With Worksheets("sheet1") j = .Range("M2").End(xlDown).Row For k = j To 2 Step -1 x = .Cells(k, "M").Value With Worksheets("sheet2") Set r2 = Range(.Range("A2"), .Range("A2").End(xlDown)) Set cfind = r2.Cells.Find(what:=x, lookat:=xlWhole) If Not cfind Is Nothing Then GoTo line1 Else GoTo nextk End If End With GoTo nextk line1: .Cells(k, "m").EntireRow.Delete nextk: Next k End With End Sub