Returns a value based on the first true condition after evaluating the multiple conditions specified. It can be used instead of multiple nested IF statements.
Syntax
Remarks
You can use "TRUE" as the last test condition when you want to specify all the values other than the ones mentioned in the previous conditions.
Examples
|
Formula |
Result |
|
=IFS(B2>89;"A+";B2>79;"A";B2>69;"B";B2>59;"C";B2>49;"D";B2<50;"F") |
C |
|
=IFS(B2>89;"A+";B2>79;"A";B2>69;"B";B2>59;"C";B2>49;"D";TRUE;"F") |
A |
Possible Errors
|
Errors |
Meaning |
|
#N/A! |
|
|
#NAME! |
|
|
#VALUE! |
|
|
#REF! |
|
Similar Functions