Sub test_III()
Dim LG&, CL&, i&, j&, PremL&, PlG As Range
LG = Cells(Rows.Count, 1).End(3).Row
For j = 1 To 10
If IsDate(Cells(j, 1)) Then
PremL = Cells(j, 1).Row
Exit For
End If
Next j
CL = Cells(PremL, 2).End(xlToRight).Column
On Error Resume Next
For i = 2 To CL
Set PlG = Cells(PremL, i).Resize(LG - 4)
PlG.SpecialCells(2, 2).Value = Application.Average(PlG)
Set PlG = Nothing
Next
End Sub