Please use code tags. You need to end For loops with a Next. Use option explicit at top of code and select Debug in the code window. Also, note the sheet name specification. HTH. Dave
Option Explicit
Sub Populate_Empties()
Dim i As Integer, j As Integer, n As Integer, m As Integer, k As Integer
' test for 50 rows...then change i from 2 to 278970
m = 2
For k = 3 To 8
For i = 2 To 50
If (IsEmpty(Sheets("YourSheetName").Cells(i, k).Value)) Then
m = i 'any statement
Else
j = i - 1
For n = m To j
Sheets("YourSheetName").Cells(n, k).Value = Sheets("YourSheetName").Cells(i, k).Value
m = i + 1
Next n
End If
Next i
Next k
End Sub