Try this one:
Option Explicit
Sub Find_Matches()
Dim CompareColumn As Range, _
CompareCell As Range, _
TestColumn As Range, _
TestCell As Range, _
ResultColumn As Range, _
CompareRows As Long, _
DestinationRow As Long, _
FoundVal As Variant
Set CompareColumn = Application.InputBox("Click in the * COLUMN * to TEST", "Select TEST column", Type:=8)
Set TestColumn = Application.InputBox("Click the column to compare to", "Select Compare column", Type:=8)
Set ResultColumn = Application.InputBox("Click the column for the RESULTS", "Select RESULT column", Type:=8)
CompareRows = WorksheetFunction.Max(Cells(Rows.Count, CompareColumn.Column).End(xlUp).Row, Cells(Rows.Count, TestColumn.Column).End(xlUp).Row)
Set CompareColumn = CompareColumn.Resize(rowsize:=CompareRows)
Set TestColumn = TestColumn.Resize(rowsize:=CompareRows)
For Each TestCell In TestColumn
If TestCell <> "" Then
Set FoundVal = CompareColumn.Find(TestCell.Value)
If FoundVal Is Nothing Then
DestinationRow = DestinationRow + 1
Cells(DestinationRow, ResultColumn.Column).Value = TestCell.Value
End If 'try to find testcell value
End If 'current test cell
Next TestCell
End Sub
Bookmarks