Hello,
I want to create an if formula that returns text instead of a number, like this:
if(a=1, “Phase 1”, “Phase 2”)
When I try I get an error message but I’m not sure if it’s because it’s not possible or just the writing nomenclature.
Thanks!
Hello,
I want to create an if formula that returns text instead of a number, like this:
if(a=1, “Phase 1”, “Phase 2”)
When I try I get an error message but I’m not sure if it’s because it’s not possible or just the writing nomenclature.
Thanks!
Best answer by Natasha Neese
Hello
Great question! Unfortunately, TrendMiner formulas work exclusively with numerical values and don't support text strings as return values. That's why you're getting an error with your formula.
The workaround:
Use numerical codes instead of text to represent your phases:
if(a=1, 1, 2)
For visualization and interpretation:
Alternative approach:
Hope this helps! Let me know if you have any other questions.
Best regards,
Natasha
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.