To count the number of cells that have values greater than a particular number, you can use the COUNTIF function. In the generic form of the formula rng represents a range of cells that contain numbers, and X represents the threshold above which you want to count.
In the example shown, the active cell contains this formula:
Here’s how the formula works
COUNTIF counts the number of cells in the range that contain numeric values greater than X, and returns the result as a number.
If you want to count cells that are greater than or equal to 90, use: