See if this is what you what. Im guessing that you want to add the letter value for the number in column N
Option Explicit
Sub Example()
Const sh As String = "sheet1"
Dim aArr, i As Long
With Worksheets(sh)
aArr = .Range("g5", .Cells(Rows.Count, "g").End(xlUp).Offset(, 1)).Value
End With
With CreateObject("scripting.dictionary")
.comparemode = 1
For i = 1 To UBound(aArr)
If Not .exists(aArr(i, 1)) Then
.Item(aArr(i, 1)) = aArr(i, 2)
End If
Next
With Worksheets(sh)
aArr = .Range("m5", .Cells(Rows.Count, "m").End(xlUp).Offset(, 1)).Value
End With
For i = 1 To UBound(aArr)
If .exists(aArr(i, 1)) Then
aArr(i, 2) = .Item(aArr(i, 1))
End If
Next
End With
With Worksheets(sh)
.Range("m5").Resize(UBound(aArr), UBound(aArr, 2)) = aArr
End With
End Sub
Bookmarks