+1, Good question. Not really a mistake, but a function!
This is due to the fact that Excel implicitly converts the input data to its internal numeric type and loses accuracy in doing so. Excel's internal numeric type is an IEEE double-precision floating-point number. (Although he does smart things with formatting and propagating errors, so he seems to get amounts, like 1/3 + 1/3 + 1/3).
Because they are so similar, they are all compared as mutually equal.
One way would be to prefix each string with a ' (single quote), which will prevent conversion to a numeric type. Then the COUNTIF value returns 1. (At least in my version of Excel, 2013).
source share