As we know, the new excel release is super awesome with its array range and lambda function (along with other functions to work on array/lambda).
One problem that still makes me uncomfortable is making an array with reference.
We can make normal array as ={1,2,3;4,5,6}. But apparently we cannot make array with reference ={A1,C1,E1;A2:C2}.
Now I am still using this inelegant way to make array with reference =MAKEARRAY(2,3,LAMBDA(r,c,IF(r=1,IF(c=1,A1,IF(c=2,C1,IF(c=3,E1),INDEX(A2:C2,1,c))))
Is there simpler way to make array with reference?
(No macro)
One problem that still makes me uncomfortable is making an array with reference.
We can make normal array as ={1,2,3;4,5,6}. But apparently we cannot make array with reference ={A1,C1,E1;A2:C2}.
Now I am still using this inelegant way to make array with reference =MAKEARRAY(2,3,LAMBDA(r,c,IF(r=1,IF(c=1,A1,IF(c=2,C1,IF(c=3,E1),INDEX(A2:C2,1,c))))
Is there simpler way to make array with reference?
(No macro)