In the example, the RANDBETWEEN function returns a random integer between numbers 1 and 500, and its output is continuously changing. And the SEQUENCE function doesn’t know how many values to produce in a spill array. Hence, the #SPILL error. You can also confirm the cause of the error ...