COUNTIF

From Microsoft Office Spreadsheet Functions