The key will be to identify a start (and stop) line and assign your ID or Rownumber to it and if necessary fill the lines in between with the help of the missing value node.
Here is a somewhat similar example.
Or maybe you upload your excel file here (deleting sensitive information first) and we could try a few things.