I am using the countif function to count the number of times the word “yes” occurs in a range. The range only accepts “yes” and “no” values through data validation from a list. The result is always 0 irrespective of what values I give the range. Any help?
As I mentioned in comments, it seems that range
"no" with additional leading/trailing spaces. Try next formula:
Try using wildcards