multiple fields calculation to update a single single

I have like 9 fields then there a math formula i need to run and show the result on another field, is there a way to to this without using the AfterStateUpdate and duplicate the formula on each of the 9 fields and then update the value on the result field?
Was this page helpful?