The simplest way to do this is with theCOUNTIF function, as explained below.
Not equal to
In Excel, theoperatorfor not equal to is “<>”.
The word “red” can appear in any combination of uppercase or lowercase letters.
COUNTIF can be used to count cells that…