Option Explicit
Sub test()
Dim derniere_ligne As Long, i As Long
Application.ScreenUpdating = False
derniere_ligne = Feuil1.Cells(Rows.Count, 1).End(xlUp).Row ' feuille 1
For i = derniere_ligne To 1 Step -1 ' jusquà la 1ere ligne
If Cells(i, 1) <> "" Then Cells(i, 2) = "X"
Next i
Application.ScreenUpdating = True
End Sub