While the IF function has been around for a while now, IFS is new to Excel. This function checks whether one or more conditions are met and then returns the value associated with the first TRUE condition. The main objective of IFS is to simplify an expression that would have previously required multiple nested IF functions.
The general format of the IFS function is
|=IFS(Condition 1, Value if Condition 1 = TRUE, Condition 2, Value if Condition 2 = TRUE, Condition 3, Value if Condition 3 = TRUE)|
The function can handle up to 127 different conditions, and only the first two parameters are required.
Here is an example using a sample Excel grid:
will return “Green” (the value of cell C2).
In older versions of Excel, this would be written as
Multiple nested IF functions would previously be used to accomplish the same result.
IBM Planning Analytics, which TM1 is the engine for, is full of new features and functionality. Not sure where to start? Our team here at Revelwood can help. Contact us for more information at firstname.lastname@example.org. And stay tuned for more Planning Analytics Tips & Tricks weekly in our Knowledge Center and in upcoming newsletters!
Want to get our Planning Analytics Tips & Tricks delivered to your inbox every Tuesday? Sign up to get our weekly email of just the week’s tip!