This appears to me that you want automatically make a data table like this
SamGardner_1-1672955013393.png
You can use a formula for the Elapsed Time Column like the one shown below. It uses conditional If( ) and also the Lag( ) function to get the previous row's data from a column
SamGardner_0-1672954974687.png
example data table attached.