Hi!
You can get the result with help of some temporary columns.
In records mode, create a new column based on "Box", name "from", GREL "row.record.fromRowIndex".
Another new column based on "from", name "to", GREL "row.record.toRowIndex".
Result column "nr", based on "to", GREL "value-cells.from.value"
Then you should have a table as below and you can still move the "nr" column to the left.
Wolf
Section Box from to nr
1 2.325/A142 0 2 2
2.325/A143 0 2 2
2 2.325/B55 2 7 5
2.325/B56 2 7 5
2.325/B57 2 7 5
2.325/B58 2 7 5
2.325/B93 2 7 5