Francisco Aspillaga Posted March 28, 2023 Share Posted March 28, 2023 Hi All,How would you write these two "IF" functions from excel to spotfire?1) =if(A1=""";B1;C1"). function so that cell A1 is a blank value copy to the value of cell B1, otherwise copy the value of C1).2) =if(A="";"";if(A>=0.8;"High";IF(A<=0.5;"Low";"Medium"))) Link to comment Share on other sites More sharing options...
Solution Fredrik Rosell Posted March 29, 2023 Solution Share Posted March 29, 2023 Hello,I would write 1 as If([A] Is Null,,[C])For 2, that could be written as several nested "If" statements, but I think it becomes more readable using "Case" instead:Case when [A] is Null then "" when [A] >= 0.8 then "High" when [A] <= 0.5 then "Low"else "Medium" end Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now