Community & Support
Learn
Marketplace
Discussions
Categories
Discussions
General
Platform
Academic
Partner
Regional
User Groups
Documentation
Events
Altair Exchange
Share or Download Projects
Resources
News & Instructions
Programs
YouTube
Employee Resources
This tab can be seen by employees only. Please do not share these resources externally.
Groups
Join a User Group
Support
Altair RISE
A program to recognize and reward our most engaged community members
Nominate Yourself Now!
Home
Discussions
Community Q&A
Data classification with 3 values through Turbo Grep
User222697
Hi,
i want generate a new colum which computes three possible values (A,D or H)
A = Score2>Score1
D = Score2==Score1
H = Score1>Score2
Score1 Score2
2 4
2 2
5 1
Result
A
D
H
Through the following syntax i can generate two values, but how can i generate the three possible options (A,D,H)?
if(Score1>Score2, "H", "A or D")
Thanks and sorry my ignorance
Find more posts tagged with
AI Studio
Classification
Turbo Prep
Accepted answers
varunm1
Hello
@User222697
You can write nested IF.
If (Score1>Score2, "H", if(Score1<Score2,"A","D"))
All comments
varunm1
Hello
@User222697
You can write nested IF.
If (Score1>Score2, "H", if(Score1<Score2,"A","D"))
Quick Links
All Categories
Recent Discussions
Activity
Unanswered
日本語 (Japanese)
한국어(Korean)
Groups