Google Sheets IFS function
Checks several conditions in order and returns the value of the first one that holds, without nesting IFs. In Spanish Sheets it is called SI.CONJUNTO.
Syntax
English Sheets
=IFS(condition1, value1, [condition2, value2], …)
Spanish Sheets (Mexico locale)
=SI.CONJUNTO(condición1, valor1, [condición2, valor2], …)
Spanish Sheets (Spain, Latin America)
=SI.CONJUNTO(condición1; valor1; [condición2; valor2]; …)
| Argument | What it is |
|---|---|
| condition1 | The first condition. |
| value1 | What it returns when it holds. |
| condition2, value2optional | More condition-and-value pairs, checked in order. |
Example
IFS checks several conditions in order and returns the value of the first one that holds, without nesting IFs. It has no "otherwise": for the remaining case, use TRUE as the last condition.
=IFS(B2>=9,"Excellent",B2>=7,"Good",TRUE,"Low")
Common mistake
It has no "otherwise": if nothing holds it returns #N/A. End with TRUE and the default value.
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 IFS
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
IFS
IFS checks several conditions in order and returns the value of the first one that holds, without nesting IFs. It has no "otherwise": for the remaining case, use TRUE as the last condition.
In C2, show "Excellent" for 9 or more, "Good" for 7 or more and "Low" otherwise.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Student | Grade | Level | |
| 2 | Ana | 9.5 | ||
| 3 | Luis | 6.5 | ||
| 4 | Sofía | 7 | ||
| 5 | Diego | 9 | ||
| 6 | Valeria | 8 | ||
| 7 | Mateo | 5 | ||
| 8 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is IFS called in Spanish?
- In Spanish Google Sheets it is SI.CONJUNTO. The formula =IFS(B2>=9,"Excellent",B2>=7,"Good",TRUE,"Low") is written =SI.CONJUNTO(B2>=9;"Excelente";B2>=7;"Bien";VERDADERO;"Insuficiente") (or with commas under a Mexico locale).
- Why does IFS 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 IFS mistake?
- It has no "otherwise": if nothing holds it returns #N/A. End with TRUE and the default value.