You can use the GroupBy node with “material no.”, “order no.” and “order week” as group columns and “order qty” as aggregation column, using “Sum”.
If you set the column naming to “Keep original names” you won’t have to rename the columns afterwards.
For anyone interested, I managed the split. And this is how I did:
I used the Row Splitter to separate the 4-week periods from the single weeks. Then I added a Constant Value Column with “4” to be used in the One Row to Many node, so that each line will be repeated 4 times. The Group Loop Start was used to identify one order and one period (always 4 rows). Those rows received a counter starting from “0”. I used the Column Expressions node to separate the first week showing up in the string and adding the counter to it. Finally, Concatenate with the second output of the Row Splitter node which was the single weeks.