How to Compaire 3 lists of Names
Closed
Hasan
-
Jan 15, 2011 at 08:07 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Jan 15, 2011 at 10:12 PM
venkat1926 Posts 1863 Registration date Sunday June 14, 2009 Status Contributor Last seen August 7, 2021 - Jan 15, 2011 at 10:12 PM
Related:
- How to Compaire 3 lists of Names
- Hitman 3 cheats - Guide
- Psiphon 3 download - Download - VPN
- My contacts list names - Guide
- How to change your best friends list on snapchat to 3 - Guide
- Ideogram ai names - Guide
1 response
venkat1926
Posts
1863
Registration date
Sunday June 14, 2009
Status
Contributor
Last seen
August 7, 2021
811
Jan 15, 2011 at 10:12 PM
Jan 15, 2011 at 10:12 PM
try this macro . the result is in column E. check this with column D.finally you can delete column D
But there are a few more possibilities
you can modify the macro if you desire
But there are a few more possibilities
you can modify the macro if you desire
Sub TEST() Dim rng As Range, c As Range, j As Integer, k As Integer, x As String, cfind As Range Range("E1").EntireColumn.Delete Set rng = Range(Range("A2"), Range("A2").End(xlDown)) For Each c In rng x = c & " " & c.Offset(0, 1) j = WorksheetFunction.Search(" ", c.Offset(0, 2)) k = Len(c.Offset(0, 2)) Set cfind = Columns("C:C").Find(what:=x, lookat:=xlWhole) If Not cfind Is Nothing Then c.End(xlToRight).Offset(0, 1) = "full match" GoTo nnext End If If c = Left(c.Offset(0, 2), j - 1) Or c.Offset(0, 1) = Right(c.Offset(0, 2), k - j) Then c.End(xlToRight).Offset(0, 1) = "partial match" GoTo nnext End If If c <> Left(c.Offset(0, 2), j - 1) And c.Offset(0, 1) <> Right(c.Offset(0, 2), k = j) Then c.End(xlToRight).Offset(0, 1) = "no match" End If nnext: Next c End Sub