Notice thatcriteriais given as a text value in double quotes ("").
In this syntax,logical operatorsare joined with numeric values and provided as text.
If the value in A1 is changed to a different number, COUNTIF will return a new result.
COUNTIF can be used to count cells that…