Sub CompareCols()
Dim Cl As Range
With CreateObject("scripting.dictionary")
For Each Cl In Range("A2", Range("A" & Rows.count).End(xlUp))
If Not .exists(Cl.Value) Then .Add Cl.Value, Nothing
Next Cl
For Each Cl In Range("B2", Range("B" & Rows.count).End(xlUp))
If .exists(Cl.Value) Then .Remove Cl.Value
Next Cl
Range("B" & Rows.count).End(xlUp).Offset(1).Resize(.count).Value = Application.Transpose(.keys)
End With
End Sub