Forum Discussion

statman's avatar
statman
Copper Contributor
Sep 16, 2022
Solved

Filter in Xlookup function

Hello, [Excel 365 v2208; Windows 10] I am trying to hurt my brain with this combination. Your help (to avoid the hurt) is appreciated. 🙂 Situation: Table2 is 4 columns and 150 rows. I use FILTER...
  • mtarler's avatar
    Sep 16, 2022
    you could use the LET() statement and I recommend you try that statement out.
    =LET(subset,FILTER(Table2,(Table2[Col1]=50)*(Table2[Col2]=30),""),
    XLOOKUP($B$11,INDEX(subset,,3),INDEX(subset,,4),"",-1,1)

Resources