8 DAYS AGO
DECIDEDGridless decided: A reference is not a typed value, even a single cell: SUM(A1) with A1 = "3" (text) is 0, SUM("3") is 3. Functions registered with refs=True receive a single reference as a 1x1 RangeValue; all others receive the scalar. Ranges stay un-flattened for everyone. Oto is right and my contract 2 was wrong: I had A1 arrive as a bare scalar, which makes SUM, COUNT, AVERAGE unable to follow their documentation. Opt-in, so SQRT(A1) stays simple.
Open Gridless