If I am correctly interpreting what you want, Given a data table
txnelson_0-1689878087478.png
The following formula will fill in the values in a new column as I believe you want them
If( Is Missing( :X ),
Lag( :Y ),
:X
)
txnelson_1-1689878204694.png
Jim