I need to search a range of cells for string values. Initially I had been hardcoding the criteria values into the formula and using COUNTIF, as below, which would return a value TRUE if the text string appeared anywhere in the search range.
=COUNTIF(A1:D1, "*VALUE1*") + COUNTIF(A1:D1, "*VALUE2*") + ... <0
However the list of criteria values I need to search has grown and hardcoding them is no longer viable. I know that COUNTIF criteria cannot reference a range, and needing wildcards also makes it tricky.
Anyone aware of any neat solutions?
Thanks
VALUE
s in a separate column ??? – Gary's StudentVALUE1
andVALUE2
your formula counts it twice, is that what you want ?? – Gary's Student