If you have workflows, you should also have access to calculation properties which are a much more suitable tool for this task. Calculation properties let you create equations and sum up two properties, for example.
Have a look and let me know if you have any follow-up questions!