Google Sheets MAXIFS function
Returns the highest value among the rows that meet the conditions. In Spanish Sheets it is called MAX.SI.CONJUNTO.
Syntax
English Sheets
=MAXIFS(range, criteria_range1, criterion1, [criteria_range2, criterion2], …)
Spanish Sheets (Mexico locale)
=MAX.SI.CONJUNTO(intervalo, intervalo_criterio1, criterio1, [intervalo_criterio2, criterio2], …)
Spanish Sheets (Spain, Latin America)
=MAX.SI.CONJUNTO(intervalo; intervalo_criterio1; criterio1; [intervalo_criterio2; criterio2]; …)
| Argument | What it is |
|---|---|
| range | Where the maximum is taken from. |
| criteria_range1 | The first range to check. |
| criterion1 | Its condition: a text, a number or a comparison like ">100". |
| criteria_range2, criterion2optional | More range-and-condition pairs. |
Example
MAXIFS and MINIFS return the highest or lowest value among the rows that meet the conditions. The range the result comes from goes first.
=MAXIFS(D2:D11,B2:B11,"Guadalajara")
Common mistake
If no row qualifies it returns 0 rather than an error.
About Ads
This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.
Ads help us keep WebHerramientas free for everyone
Practice MAXIFS
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
MAXIFS and MINIFS
MAXIFS and MINIFS return the highest or lowest value among the rows that meet the conditions. The range the result comes from goes first.
In G2, find the largest Guadalajara order.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Order | City | Seller | Amount | ||||
| 2 | P-101 | Monterrey | Carmen | 1200 | Largest Guadalajara order | |||
| 3 | P-102 | Guadalajara | Jorge | 850 | Carmen’s smallest order | |||
| 4 | P-103 | CDMX | Carmen | 2300 | ||||
| 5 | P-104 | Monterrey | Lucía | 640 | ||||
| 6 | P-105 | CDMX | Jorge | 1750 | ||||
| 7 | P-106 | Guadalajara | Lucía | 980 | ||||
| 8 | P-107 | Monterrey | Jorge | 1500 | ||||
| 9 | P-108 | CDMX | Lucía | 410 | ||||
| 10 | P-109 | Guadalajara | Carmen | 1320 | ||||
| 11 | P-110 | Monterrey | Carmen | 760 | ||||
| 12 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is MAXIFS called in Spanish?
- In Spanish Google Sheets it is MAX.SI.CONJUNTO. The formula =MAXIFS(D2:D11,B2:B11,"Guadalajara") is written =MAX.SI.CONJUNTO(D2:D11;B2:B11;"Guadalajara") (or with commas under a Mexico locale).
- Why does MAXIFS use semicolons in some spreadsheets?
- It depends on each spreadsheet's locale, under File > Settings. Where the comma is the decimal mark (Spain, much of South America), arguments are separated by semicolons. Mexico and United States locales use commas.
- What is the most common MAXIFS mistake?
- If no row qualifies it returns 0 rather than an error.