Excel IFS function

Checks conditions in order and returns the result of the first one that is true. It replaces nested IFs. In Spanish Excel it is called SI.CONJUNTO.

Syntax

English Excel

=IFS(logical_test1, value_if_true1, [logical_test2, value_if_true2], …)

Spanish Excel (Mexico)

=SI.CONJUNTO(prueba_lógica1, valor_si_verdadero1, [prueba_lógica2, valor_si_verdadero2], …)

Spanish Excel (Spain, Latin America)

=SI.CONJUNTO(prueba_lógica1; valor_si_verdadero1; [prueba_lógica2; valor_si_verdadero2]; …)

ArgumentWhat it is
logical_test1The first condition.
value_if_true1Its result.
logical_test2, value_if_true2optionalMore pairs.

Example

IFS(test1, value1, test2, value2…) replaces nested IFs: it returns the value of the first test that is true. End with TRUE as "in any other case".

=IFS(B2>=90,"A",B2>=80,"B",TRUE,"C")

Common mistake

If none is true it returns #N/A: end with TRUE and a value for "anything else".

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(test1, value1, test2, value2…) replaces nested IFs: it returns the value of the first test that is true. End with TRUE as "in any other case".

Example=IFS(B2>=90,"A",B2>=80,"B",TRUE,"C")SI.CONJUNTO = IFS

In C2, assign "A" for 90 or more, "B" for 80 or more and "C" otherwise, using IFS.

C2
ABCD
1StudentScoreLevel
2Ana95
3Luis82
4Sofía90
5Diego64
6Valeria79
7Mateo80
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 Excel it is SI.CONJUNTO. The formula =IFS(B2>=90,"A",B2>=80,"B",TRUE,"C") is written =SI.CONJUNTO(B2>=90;"A";B2>=80;"B";VERDADERO;"C") (or with commas in Mexico).
Why does IFS use semicolons in some Excel versions?
It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
What is the most common IFS mistake?
If none is true it returns #N/A: end with TRUE and a value for "anything else".