bonjour,
une proposition
Sub aargh()
'complete valeurs intermédiaires par regression linéaire
dl = Cells(Rows.Count, 1).End(xlUp).Row
i = 1
Do While i < dl + 5
If Cells(i, 1) <> "" Then
If ld = "" Then
ld = i
Else
lf = i
vd = Cells(ld, 1)
vf = Cells(lf, 1)
For j = ld To lf
Cells(j, 2) = vd + (j - ld) * (vf - vd) / (lf - ld)
Next j
ld = lf
End If
End If
i = i + 1
Loop
End Sub