6diegodiego9
Board Regular
- Joined
- Jan 9, 2018
- Messages
- 80
- Office Version
- 2016
- Platform
- Windows
Take this table:
[TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]code[/TD]
[/TR]
[TR]
[TD="class: xl65"]058[/TD]
[/TR]
[TR]
[TD="class: xl65"]03102[/TD]
[/TR]
[TR]
[TD="class: xl65"]0504[/TD]
[/TR]
</tbody>[/TABLE]
where the "numbers" are stored as text to preserve the leading zero(es).
The formula =COUNTIF(A2:A4;"=058") returns 1.
Why does the formula =COUNTIF(A2:A4;"<>058") returns 3 instead than 2?
[TABLE="width: 64"]
<colgroup><col width="64" style="width:48pt"> </colgroup><tbody>[TR]
[TD="class: xl65, width: 64"]code[/TD]
[/TR]
[TR]
[TD="class: xl65"]058[/TD]
[/TR]
[TR]
[TD="class: xl65"]03102[/TD]
[/TR]
[TR]
[TD="class: xl65"]0504[/TD]
[/TR]
</tbody>[/TABLE]
where the "numbers" are stored as text to preserve the leading zero(es).
The formula =COUNTIF(A2:A4;"=058") returns 1.
Why does the formula =COUNTIF(A2:A4;"<>058") returns 3 instead than 2?