How to program that keeps track of the number of times we visit an enumerator?

Dear @stephanealoo,
sorry for delayed response.
I was looking for a possibility to record the last value before a new value is entered. This would allow for example to ensure sequencing numbers etc… I played around (see short xls example). But I am afraid this is not possible with KoBoToolbox,
Any solution (or workaround) would be great.

If the case is saved, there might be a solution approach with ODK. Remember Last Saved Value (but this is for 2 form instances)
Kind regards
Wolfgang