the problem is the interpolation code only works with numerical values
a number of your apparently blank cells seem not in fact to be truly empty cells.
If you don't mind setting your columnE to values only, then try the following slightly modified code. it works OK for me
Sub linear_inbetween2()
Range("E:E").Value = Range("E:E").Value
Dim c As Range, d as Range
Set c = Range("E1")
Do
Set d = c.End(4)
If c(2) = "" Then
Do
c(2) = c + (d - c) / (d.Row - c.Row)
Set c = c(2)
Loop Until c = d(0)
End If
Set c = d
Loop Until d.End(4).Row = Rows.Count
End Sub
Bookmarks