Forum Discussion

Joe_JL's avatar
Joe_JL
Copper Contributor
Oct 06, 2021
Solved

Multistep: Lookup values based on another table and then concatenate by an ID

Hi Everyone, thank you in advance for any help you are able to provide! I consider myself good at excel and power query but this is quite a beast in my opinion.    Device and OS platform: PC, Windo...
  • byundt's avatar
    Oct 07, 2021

    Assuming you have Microsoft 365 (subscription version), you may use the following formulas for cells C3 to E3:

    =TEXTJOIN(", ",TRUE,FILTER(J$3:J$6,ISNUMBER(SEARCH(J$3:J$6,B3)),""))
     
    =TEXTJOIN(", ",TRUE,UNIQUE(FILTER(C$3:C$8,A$3:A$8=A3,"")))
     
    =TEXTJOIN(", ",TRUE,UNIQUE(FILTER(VLOOKUP(C$3:C$8,J$3:K$6,2,FALSE),A$3:A$8=A3,"")))

     

Resources