This should get you going
Option Explicit
Sub Weather()
Dim wsHoja1 As Worksheet
Dim wsHoja2 As Worksheet
Dim i As Long, ii As Long, destRow As Long
Dim sDate As String
Set wsHoja1 = Sheets("Weather")
Set wsHoja2 = Sheets("Data")
destRow = 9
For i = 11 To wsHoja1.Cells(Rows.Count, "b").End(xlUp).Row Step 5
sDate = wsHoja1.Cells(i, "B").Value
For ii = 1 To 4
If Not wsHoja1.Cells(i, "B").Offset(ii) = vbNullString Then
wsHoja2.Cells(destRow, "B").Value = sDate
wsHoja2.Cells(destRow, "C").Value = wsHoja1.Cells(i, "B").Offset(ii)
wsHoja2.Cells(destRow, "E").Value = wsHoja1.Cells(i, "D").Offset(ii)
wsHoja2.Cells(destRow, "F").Value = wsHoja1.Cells(i, "E").Offset(ii)
destRow = destRow + 1
End If
Next
Next
Set wsHoja1 = Nothing
Set wsHoja2 = Nothing
End Sub
Bookmarks