Thank you!
Yes, this does give correct amounts.
The issue with 'helper' columns remains. I can't figure this out, too.

Thank you for your input!
I hope someone might still have a bright idea how to solve my problem.