Math & Statistics formulas
Add, count, average, and summarize spreadsheet data with criteria-aware formulas.
COUNTIFS for active customers by segment
Find the maximum value by criteria with MAXIFS
Find the Nth largest value with LARGE
Measure data spread with STDEV
SUMIFS for monthly revenue by category
Frequently asked questions
Can I use comparison operators in AVERAGEIFS criteria?
Yes — use text strings like ">100" or "<="&A1 as the criteria argument. For example, AVERAGEIFS(D2:D100,C2:C100,">="&DATE(2026,1,1)) averages values with a date on or after Jan 1 2026.
Can COUNTIFS count date-based activity too?
Yes. Add another criteria range and a date condition to further narrow the result.
Is there a MINIFS function as well?
Yes — MINIFS works identically to MAXIFS but returns the smallest matching value. Both functions were introduced in Excel 2019.
Is there a SMALL function for the Nth smallest value?
Yes — SMALL(range,k) returns the kth smallest value. SMALL(B2:B100,1) returns the minimum, equivalent to MIN.