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.

Excel formula: Count cells less than

COUNTIF can be used to count cells that…

Excel COUNTIF function

Excel COUNTIFS function