Learn how to use the COUNTIF function in Excel using different criteria via different examples.