COUNTIF

From Office Components Spreadsheet Function