Examples for the countifs formula
Copy these examples into a spreadsheet and adjust the ranges for your own data.
COUNTIFS syntax pattern
=COUNTIFS(eval_range1, criteria1, [more_eval_ranges_and_criteria...])Use this COUNTIFS pattern as the starting point for your spreadsheet formula.
COUNTIFS in a worksheet
=COUNTIFS(eval_range1, criteria1, [more_eval_ranges_and_criteria...])Evaluates multiple values against their criteria, then counts sets of values that meet every criterion.
When to use COUNTIFS
Use COUNTIFS when you need to evaluate multiple values against their criteria, then counts sets of values that meet every criterion.
- Summarize ranges with counts, averages, variance, and standard deviation.
- Build quick descriptive statistics.
How COUNTIFS works in Quadratic
In Quadratic, COUNTIFS follows the syntax COUNTIFS(eval_range1, criteria1, [more_eval_ranges_and_criteria...]). The function works inside Quadratic formulas and can be combined with spreadsheet ranges, tables, and other formulas.
Common COUNTIFS mistakes
Most COUNTIFS issues come from mismatched argument types, ranges that do not cover the intended data, or optional parameters being omitted when the default behavior is not what you expected.
- Check each required parameter before copying the formula across a sheet.
- Confirm that ranges line up with the rows or columns you intend to analyze.
- Use Quadratic AI to explain or debug the formula when the result looks wrong.