Introduction
COUNTIF and COUNTIFS help you count how many times certain things happen in your data. COUNTIF counts based on one rule, while COUNTIFS counts based on multiple rules at the same time. This is useful when you want to know how many items meet your conditions.
When you want to count how many sales are above a certain number.
When you need to find how many students scored more than 80 in math.
When you want to count how many orders came from a specific city.
When you want to count how many products are in stock and cost less than $20.
When you want to count how many employees work in a department and have more than 5 years of experience.