|
This tip was printed from the MalekTips Computer and Technology Help and Tips website at http://malektips.com. Microsoft Excel 2003 Functions and Formulas - Count the Number of Cells That Meet a Condition
You may need to determine how many cells in a given range meet a certain condition. You might want to count how many values in a list are above a certain number. Or, for example, how many of your employees listed in a Human Resources spreadsheet are managers.
Syntax: =countif(RANGE,CRITERION) RANGE is the range of cells you want to count. CRITERION is the condition you want to specify to count. For example, to count the number of people in Sales: =countif(B1:B6,"Sales") This will return 2, the number of employees you have in sales. Or, if you want to find out how many employees have a salary over $30,000, use: =countif(C1:C6, >30000) This will return 3. |
Press the "print" button on your browser or select "File" - "Print" to print this tip. Then,
return to Microsoft Excel 2003 Functions and Formulas - Count the Number of Cells That Meet a Condition
Standard disclaimer applies - read http://malektips.com/disclaim.html.