OK. Put this in a spare column, row 2. Copy down as far as needed. Then select all values, copy them and paste values back into column A. delete the content of the spare column.

Done??

=IF(A2="",D1,A2)