Forum Discussion

Matt_Paz's avatar
Matt_Paz
Copper Contributor
Feb 20, 2025

Searching a cell value against a column of values

Hi all

Hope you are well.

I have a table as follows:

I am after a formula to search the whole of column I for the names in column A. If found, return the Team name in column H.

How is this possible? LET?

Thanks for any help

Matt

5 Replies

    • Matt_Paz's avatar
      Matt_Paz
      Copper Contributor

      Hi, looks like my version doesnt allow option 3 in XLOOKUP - I get the #VALUE error

      • Patrick2788's avatar
        Patrick2788
        Silver Contributor

        Then you can use the wildcard version (it's a bit longer):

        =XLOOKUP("*"&name&"*",names,team,"",2)

         

Resources