Please check the xaml attached if it solves your problem
90 Rows per Line.xaml (9.2 KB)
Also, the input and the output you have sent are not correct.
Please check cell D369 of your Input sheet. It is not null. Before running the workflow please delete the content of cell D369.
The output is also not correct
The highlighted values must be 32.26 (Am I right?)
Please let me know if the solution works for you.