The COUNTIF function counts the number of cells that meet one criterion, such as the cells with a text string, the cells with a certain value, etc. The following formula is to help you get the count of cells that are less than a particular value.
Example: You are working with a dataset with the first name in column A, the last name in column B, and the salary in column C.
Formula 1: To count how many persons' salaries are less than $70,256
= COUNTIF(C2:C8, "<70256")
The result returns one person with a salary of less than $70,256.
Formula 2: To count how many persons' salaries are less than $75,000
= COUNTIF(C2:C8, "<75000")
The result returns five, and there are five people with a salary less than $75,000.
Notes: The COUNTIF function
Formula:
= COUNTIF(Range, "<number")
Explanations:
– The range is required, the range of cells you want to count;
– The number is required, which is the base number.
Practice: Count Cells Less than