Sub test()
With Sheets("feuil1") ' adapter le nom de la feuille
With .Range("e1:e" & .Cells.Find("*", , , , xlByRows, xlPrevious).Row)
.Formula = "=IF(ISNUMBER(d1),IF(d1<=TODAY(),""Date passée"",""Date future""),"""")"
.Value = .Value ' supprime la formule
End With
End With
End Sub