Then you’d simply need 1 or 2 helper tables.
I say 2 because 1 table could be where user is entering data and the 2nd would be the calculations that @Darren_Murphy mentioned above (using single value columns to bring in the entered values)
This will help: