Sub Test()
Dim i As Long, j As Long
Dim resArray
tempArray = [A1].CurrentRegion.Value
With CreateObject("Scripting.Dictionary")
For i = 2 To UBound(tempArray, 1)
.Item(tempArray(i, 1) & "," & tempArray(i, 2)) = tempArray(i, 3)
Next
tempArray = [J1].CurrentRegion.Value
ReDim resArray(UBound(tempArray, 1), 1)
For j = 2 To UBound(tempArray, 1)
resArray(j - 2, 0) = .Item(tempArray(j, 1) & "," & tempArray(j, 2))
Next
End With
[L2].Resize(UBound(resArray, 1)) = resArray
End Sub