Here you go @sal , workflow looks like this:

I added the results in a new column called “Knime Losing Margin” so you can compare to what you got from Excel:
As you can see, the results are the same.
Here’s the workflow: Substract all values in a rows from the maximum value in a group.knwf (23.0 KB)
