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]; …)

ArgumentWhat it is
condition1The first condition.
value1What it returns when it holds.
condition2, value2optionalMore 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.

Advertising
Loading ad...

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.

Example=IFS(B2>=9,"Excelente",B2>=7,"Bien",TRUE,"Insuficiente")SI.CONJUNTO = IFS

In C2, show "Excellent" for 9 or more, "Good" for 7 or more and "Low" otherwise.

C2
ABCD
1StudentGradeLevel
2Ana9.5
3Luis6.5
4Sofía7
5Diego9
6Valeria8
7Mateo5
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.