Sub MyCopyData()
Dim lr As Long
Dim r As Long
Dim fr As Long
Application.ScreenUpdating = False
' Find last row in column B with data
lr = Cells(Rows.Count, "B").End(xlUp).Row
' Loop from last row up to first row backwards
For r = lr To 1 Step -1
' Check to see if column B is greater than 0
If Cells(r, "B") > 0 Then
' See if found row has been set yet (if not, set it, otherwise subtract 1)
If fr = 0 Then
fr = r
Else
fr = fr - 1
End If
' Populate columns F and H
Cells(fr, "F").Value = Cells(r, "A").Value
Cells(fr, "H").Value = Cells(r, "B").Value
End If
Next r
Application.ScreenUpdating = True
End Sub