Given below is the input data & desired output:
My workflow is such that my fields will dynamically change based on the input data
So for example: Next time my data might have only Field1
Another time my data might have only Filed1 & Field2
Likewise at times my fields be even 4 or more
So I want to have this "Dynamic Sum" filed such that it runs the formula dynamically across whatever number of fields are introduced
1. Transpose your data with key column as ID
2. use summarise tool - group by ID, sum of value
3. use join tool - join with ID as the key fields