SOLVED

Countif function

Copper Contributor

In my opinion column A strings are different. "256" <> "0256" <> "00256" <> "000256".

COUNTIF formula gave other result.

 

Any advice is appreciated

 

 ABC
1Code TextCounterFormula
22564=COUNTIF(A$2:A$5,A2)
302564=COUNTIF(A$2:A$5,A3)
4002564=COUNTIF(A$2:A$5,A4)
50002564=COUNTIF(A$2:A$5,A5)

 

3 Replies
best response confirmed by Liviu Muscalu live_outlook (Copper Contributor)
Solution

Hi Liviu,

 

That's known issue, function converts text to numbers. Try

=COUNTIF($A$2:$A$5,CHAR(173)&A2)

I don't remember the source, it's already discussed here

 

Tks
1 best response

Accepted Solutions
best response confirmed by Liviu Muscalu live_outlook (Copper Contributor)
Solution

Hi Liviu,

 

That's known issue, function converts text to numbers. Try

=COUNTIF($A$2:$A$5,CHAR(173)&A2)

I don't remember the source, it's already discussed here

 

View solution in original post