Spreading to a consolidated cell
With the exception of functions that act on leaves, spreading to a consolidated cell means proportionally spreading to all updateable leaves that have no holds applied.
Procedure
- Get the value of the consolidated cell before spreading.
- Calculate the sum of all the consolidation's leaf cells that are updateable and do not have a hold applied.
- Calculate the non-updateable sum by subtracting <2> from <1>.
- Subtract <3> from the spreading value.
- Spread <4> to the leaf cells that are updateable and do not have a hold applied. Spread to these cells in proportion to their values before the spreading.