Forum Discussion

anupambit1797's avatar
anupambit1797
Steel Contributor
Mar 05, 2026
Solved

Filter Function or TAKE-DROP Function

Dear Experts,                    I have a Data like this:-   Column A -> Has the File Names, and Column B,C,D have their corresponding data, In Column F I have the unique File Names and from G/H/I...
  • IlirU's avatar
    Mar 05, 2026

    anupambit1797​,

    Try below formula in cell F2:

    =LET(
         colA, A2:.A100,
           tj, TEXTJOIN,
           ts, TEXTSPLIT,
          arr, ARRAYTOTEXT,
        HSTACK(UNIQUE(colA), --ts(tj(";",, BYROW(WRAPROWS(BYROW(TRANSPOSE(ts(tj(";",,
         BYCOL(B2:.D100, LAMBDA(b, arr(INDEX(b, DROP(DROP(GROUPBY(colA, SEQUENCE(ROWS(colA)),
        HSTACK(MIN, MAX),, 0), 1),, 1)))))), ", ", ";")), arr), 2), arr)), ", ", ";"))
    )

    Hope this helps.

    IlirU