Hi Guys I'm trying to tweak a formula. I need to change the hardcoded array to reference a cell range.
=SUM(COUNTIFS(B1:B196,{"*yes*","*no*"},C1:C196,"agree"))
However I would like it to look like:
=SUM(COUNTIFS(B1:B196,A1;A2,C1:C196,"agree"))
The wild cards are important as I need to do a countif or within stings of text.
Wouldn't mind a VBA soulution.
Any help would be appreciated.
INDIRECT()?*no*or even a*yes*can produce a lot of false positives.