Forum Discussion

ecovonrein's avatar
ecovonrein
Iron Contributor
Jun 23, 2022
Solved

Spills and the calculation tree

Just hit upon my first disappointment with (the otherwise fantastic) Spills.  Not sure how to efficiently communicate this, so forgive long-hand:

A1=1

B2=A1

Copy down to B10 (=A9)

A2=A1-B2+1

Copy down to A10 (=A9-B10+1)

Press Calc.  All good.

 

Now replace A2 with =A1-B2:B10+1 - get #SPILL!

Clear the space below.  Calc.

 

We get a Circular Reference.

 

As the equivalent line-by-line example showed, the algorithm isn't strictly circular.  But it seems that a refresh of a single cell inside a Spill taints the entire Spill. 

 

Unfortunate.

    • ecovonrein's avatar
      ecovonrein
      Iron Contributor

      Thanks, Sergei, this confirms my observation. I think this needs to be borne in mind when working with (large) Spills because it has performance implications. It probably does not cause dependency issues so long as one works exclusively with spilled vectors. The problem arises on the boundary between cell and vector calculations. This may be a very esoteric application because the reader might puzzle why I would introduce a variable vector into a fixed cell calculation grid. But I actually used ISBLANK within the cell grid to learn something about the vector. It badly backfired.

Resources