Hello and Happy New Year,
I am trying to find a way to look across a range of 6 cells in the same row, to find any of multiple wildcard values and, in an adjacent cell, return a "yes" if any one of the multiple wildcards is found in any of the cells in the range, or "no" if not.
Initially, I was able to use the following formula in column E, when I was just looking in 4 cells...
=IF(SUM(COUNTIF(a2,{"*hockey*","*field*","*baseball*"})+COUNTIF(b2,{"*hockey*","*field*","*baseball*"})+COUNTIF(c2,{"*hockey*","*field*","*baseball*"})+COUNTIF(d2,{"*hockey*","*field*","*baseball*"})),"YES","NO")
...but when I added the 2 additional cells to check (F2 and G2), I received the "you've entered too many arguments"
Also, in the 2 additional cells I would be looking for different wildcard values than the preceding 4 cells.
Any advice is very much appreciated
I am trying to find a way to look across a range of 6 cells in the same row, to find any of multiple wildcard values and, in an adjacent cell, return a "yes" if any one of the multiple wildcards is found in any of the cells in the range, or "no" if not.
Initially, I was able to use the following formula in column E, when I was just looking in 4 cells...
=IF(SUM(COUNTIF(a2,{"*hockey*","*field*","*baseball*"})+COUNTIF(b2,{"*hockey*","*field*","*baseball*"})+COUNTIF(c2,{"*hockey*","*field*","*baseball*"})+COUNTIF(d2,{"*hockey*","*field*","*baseball*"})),"YES","NO")
...but when I added the 2 additional cells to check (F2 and G2), I received the "you've entered too many arguments"
Also, in the 2 additional cells I would be looking for different wildcard values than the preceding 4 cells.
Any advice is very much appreciated