maxifs
Maximum value among cells meeting multiple criteria.
Syntax
Section titled “Syntax”v = maxifs(max_range, criteria_range1, criteria1, ...)Description
Section titled “Description”Returns the largest value in max_range whose corresponding criteria_range_n cells all match criteria_n. Multiple criteria are combined with logical AND.
Example
Section titled “Example”maxifs(B1:B100, A1:A100, 'red')