السلام عليكم ورحمه الله وبركاته وبها نبدأ
تفضل اخي
Option Explicit
Sub Search_Transfer()
Dim WS As Worksheet, cel As Range, lr As Long, Temp(), I As Long, J As Long, X
Set WS = ThisWorkbook.Worksheets("Sheet2")
lr = WS.Cells(Rows.Count, "R").End(xlUp).Row
For Each cel In WS.Range("R5:R" & lr)
If cel <> "" Then
X = Application.Match(cel, WS.Columns(13), 0)
If Not IsError(X) Then
I = I + 1
ReDim Preserve Temp(1 To 15, 1 To I)
Temp(1, I) = I
For J = 2 To 15
Temp(J, I) = WS.Cells(X, J).Value
Next J
End If
End If
Next cel
Temp = Application.Transpose(Temp)
If I > 0 Then WS.Range("V5").Resize(I, UBound(Temp, 2)).Value2 = Temp
End Sub