Forum Discussion

YeBoldeSquirrel's avatar
YeBoldeSquirrel
Copper Contributor
Feb 15, 2023
Solved

Spilling an array with given column and row cells

I'd like to create a formula that will use given column and row cells and spill an array. In this example the bold text would be given and the rest should automatically spill based on those:    ...
  • JosWoolley's avatar
    JosWoolley
    Feb 15, 2023

    YeBoldeSquirrel 

    It would be useful if you were to share an example of the type of calculation you're wishing to spill, as it might still be possible to do so without a LAMBDA-based function. Failing that, you could try MAKEARRAY, for example:

     

    =LET(
        a,B3:B8,
        b,C2:G2,
        MAKEARRAY(ROWS(a),COLUMNS(b),
        LAMBDA(x,y,LET(p,INDEX(b,y),q,INDEX(a,x),p&q))
        )
    )

     

    Regards

Resources