Sub LookupFunction()
Application.ScreenUpdating = False
Dim i As Long, j As Long, lStart As Double, lFinish As Double, k As Long, rRang As Range
lStart = Timer()
Sheets("VLK").Range("C1:H65000").ClearContents
k = Sheets("VLK").Range("B65000").End(xlUp).Row
Set rRang = Sheets("Data").Range("A5:A5000")
For i = 1 To k
If Not rRang.Find(Cells(i, 2).Value, , xlValues, , , xlNext) Is Nothing Then
Cells(i, 3).Value = rRang.Find(Cells(i, 2).Value, , xlValues, , , xlNext).Offset(0, 1).Value
Cells(i, 4).Value = rRang.Find(Cells(i, 2).Value, , xlValues, , , xlNext).Offset(0, 2).Value
Cells(i, 5).Value = rRang.Find(Cells(i, 2).Value, , xlValues, , , xlNext).Offset(0, 3).Value
Cells(i, 6).Value = rRang.Find(Cells(i, 2).Value, , xlValues, , , xlNext).Offset(0, 4).Value
Cells(i, 7).Value = rRang.Find(Cells(i, 2).Value, , xlValues, , , xlNext).Offset(0, 5).Value
Cells(i, 8).Value = rRang.Find(Cells(i, 2).Value, , xlValues, , , xlNext).Offset(0, 6).Value
End If
Next i
lFinish = Timer()
Application.ScreenUpdating = True
MsgBox "Second: " & (lFinish - lStart), , "Timer"
End Sub