Forum Discussion

ajaws0's avatar
ajaws0
Copper Contributor
Feb 01, 2023

Adding a wildcard to a formula

Hello,   I am trying to create a search cell for my spreadsheet to search within multiple columns and rows of a table and return the column header of the matched cell. The formula works with only e...
  • Patrick2788's avatar
    Feb 01, 2023

    ajaws0 

    Something like this maybe. It can be folded up a bit more but this is the idea:

     

    =UNIQUE(BYCOL(colors,LAMBDA(col,IF(ISNUMBER(XMATCH("*"&L1&"*",col,2)),TAKE(col,1),""))),1,1)

     

Resources