How you are reading the data from this excel, and are you using any framework mechanism to process the data.
I recommend you to use RE Framework for Tabular data, which will handle move to the next record if first one is completed.
https://go.uipath.com/component/reframework-for-tabular-data