Forum Discussion
COUNTIF counts wrong
- Aug 28, 2020
Excel uses only 15 digits. Any additional digit will be changed to 0.
You could format the values as text but unfortunately COUNTIF() does a type conversion (text to number).
For more information and a solution click here:
https://newtonexcelbach.com/2017/12/22/the-countif-bug-and-how-to-avoid-it/
Hello, I hope I can assist you with your question.
Change the formula for a more consistent one.
=SUMPRODUCT(N(VALUES=YOUR_CRITERIA))
Considering your values on column A and the number that you want to count on C1
=SUMPRODUCT(N(A1:A10=C1))
Or if you want to use COUNTIF
=COUNTIF(A1:A10;CHAR(173)&C1)
If the answer is what you are looking for, don't be shy on hit the like button.
Please don't forget to mark as Official/Best Answer to help the other members find it too.
there is a mismatch use of the < and > symbols reference digit 85