Forum Discussion

John_Hartman's avatar
John_Hartman
Copper Contributor
Nov 08, 2023
Solved

How can I use XLOOKUP to find the cell with a contains?

I have a table that has a cell that concatenates groups. This cell may have multiple values and they're not always in the same order due to the program that spits them out.   Name Group (desir...
  • OliverScheurich's avatar
    Nov 08, 2023

    John_Hartman 

    =INDEX($G$3:$G$6,XMATCH(TRUE,ISNUMBER(SEARCH($G$3:$G$6,B2))))

     

    This formula works in my Excel for the web sheet.

Resources