Forum Discussion

yushang's avatar
yushang
Brass Contributor
Mar 20, 2023
Solved

Why this LAMBDA return an array?

Hi guys, Take a look at the following figure, the formula in D1 is =LAMBDA(store,col,LET( x,FILTER(A1:C3,INDEX(A1:C3,0,1)=store,NA()), IF(NOT(ISNA(x)),INDEX(x,1,col),x)))(2046,3) Why the returne...
  • SergeiBaklan's avatar
    Mar 20, 2023

    yushang 

    Actually FILTER which is like

    FILTER(A1:C3, {true; false; false} ,NA()) (didn't test)

    returns first row of the range. 

    If  FILTER(A1:C3, {true, false, false} ,NA())

    it returns first column.

Resources