Forum Discussion
TobiLuf
Feb 14, 2020Copper Contributor
Using "No" in Countif formula
Hello all, I was trying to use a countif formula to find how many instances of "No" appeared in a range. i.e =countif(B2:B5, "=no"). Column B contains multiple instances of "No", but the formu...
SergeiBaklan
Feb 14, 2020Diamond Contributor
Most probably you have space or non-printable character after the No. Did you add them manually or copy/paste from somewhere?
TobiLuf
Feb 14, 2020Copper Contributor
hi. thanks for your response.
I just checked, there are no spaces or additional characters after no. its written as (......., "=no")
I typed the formula in manually. When I delete the * from the formula, it doesn't work. but with the * it works.
- SergeiBaklanFeb 14, 2020Diamond Contributor
You may always check by =LEN(cell). If more than 2 you have extra characters.
- TobiLufFeb 14, 2020Copper Contributor
update: I now understand what you mean by space. I have sorted it out. thank you.
- SergeiBaklanFeb 14, 2020Diamond Contributor
TobiLuf , you are welcome