Analyze Data
📊 Excel 2003+
✓ Google Sheets
Same syntax in both apps
COUNTIF answers the question that every spreadsheet user eventually needs answered: how many times does this appear? How many rows are marked as Complete? How many sales exceeded the monthly target? How many customers are in the Premium tier? How many invoices are overdue? How many products are below the reorder quantity? Every one of these is a one-condition counting question and COUNTIF handles all of them in a single formula without filtering, without sorting, and without any manual counting. It works on text, numbers, dates, and wildcard patterns, it is case-insensitive by default, and it updates automatically every time the underlying data changes. I use COUNTIF constantly — in dashboards for summary counts, in data quality checks to verify no duplicates or missing values, in conditional formatting rules to highlight cells based on how many times a value appears, and in validation formulas that prevent duplicate entries in data entry forms.