Home › Functions › Logical › IFS
fx
IFS
Logical  ·  Since: Excel 2019  ·  9 languages

The IFS function checks whether one or more conditions are met, and returns a value that corresponds to the first TRUE condition. IFS can take the place of multiple nested IF statements, and is much easier to read with multiple conditions.

🌐 Translations

English IFS
Deutsch WENNS
Français SI.CONDITIONS
Español SI.CONJUNTO
Italiano PIÙ.SE
Português SES
Nederlands ALS.VOORWAARDEN
Polski WARUNKI
Русский УСЛОВИЯ

📦 Availability

Excel versionAvailable
Excel 2007 ✗
Excel 2013 ✗
Excel 2019 ✓
Excel 2021 ✓
Microsoft 365 ✓
Translate a formula with this function
fx EN
fx DE

⌨ Syntax

IFS(logical_test1,value_if_true1,[logical_test2,value_if_true2],...)

Arguments

logical_test1 (required) — Condition that evaluates to TRUE or FALSE.
value_if_true1 (required) — Result to be returned if logical_test1 evaluates to TRUE. Can be empty.
logical_test2...logical_test127 (optional) — Condition that evaluates to TRUE or FALSE.
value_if_true2...value_if_true127 (optional) — Result to be returned if logical_testN evaluates to TRUE. Each value_if_trueN corresponds with a condition logical_testN . Can be empty.

▶ Examples

=IFS(A2>89,"A",A2>79,"B",A2>69,"C",A2>59,"D",TRUE,"F")
=IFS(F2=1,D2,F2=2,D3,F2=3,D4,F2=4,D5,F2=5,D6,F2=6,D7,F2=7,D8)
=IFS([Something is True1,Value if True1,Something is True2,Value if True2,Something is True3,Value if True3)

Related functions

Copied to clipboard