Using SUM in formula

Let’s say that every record has a field named: Cost. The sum of the cost of all records appear at the bottom. Can I use that sum in a formula? For example if I want to calculate the percentage of every record’s cost ( when 100% is the sum )

Thank you

It’s not easy I think…
Read this: How do I automatically add up all values in a column?

1 Like

Shorter description:

Add extra Sum table and under Name type Sum of Costs, so just one record in this table.
Now go to Cost table and add a field with link to the Sum table.
Link the first record to the one field.
Copy this to the other records.
In Sum table you add a Rollup field where you add up the costs from the Costs table.
Now in Costs table you add a Lookup field where you lookup the Rollup field from the Sum table.

The result is you get the sum of all Costs in every record. You can use this now for further calculation per record.

1 Like

Thank you. I was considering a solution of that kind but I asked in case I missed something that could have resolved it easier.
Thank you anyway !