Description |
|
Syntax | IFS( |
Output | text |
Variables
condition1
: First logical condition to be evaluated.value1
: Value returned ifcondition1
is true.condition2
: Second logical condition to be evaluated.value2
: Value returned ifcondition2
is true.…
,…
: Additional logical conditions to be evaluated and their values returned if true.
Example
IFS(`Profit`≥1000,”Excellent”,`Profit`≥500,”Good”,`Profit`<100,”Bad”)
Investment | Profit | IFS |
Investment A | $500 | Good |
Investment B | -$200 | Poor |
Investment C | $1200 | Excellent |