Count If
Count If
There is
another very useful function – COUNTIF. It counts cells based on one condition. The following
exercises will help you understand the use of COUNTIF.
Let’s see how to use the COUNTIF function in Excel to count cells that are equal to a value, count
cells that are greater than or equal to a value, etc.
1. The COUNTIF function below counts the number of cells that are equal to 20.
The COUNTIF function below counts the number of cells that are greater than or equal to 10.
Explanation: the & operator joins the 'greater than or equal to' symbol and the value in cell C1. It is
like concatenation.
5. The COUNTIF function below counts the number of cells that are not equal to 7.
6. Now for your assignment. In the attached sheet, find out the count the number of cells that are
equal to 3 or 7. Also, find the number of cells that are equal to 3 or 10 in column A and number of all
cells that are not equal to 7 from column C.