Forum Discussion
kangkopi15
2 years agoHelper I
New simplify new column from another column
Dear Experts, I need your help again, I have this table called Grade with all the details, and I want to create a new column called Grade Final with general details, by referring to the previous colu...
- 2 years ago
Hi kangkopi15
Your example data is different to your actual data in that the actual data has some grades that do not contain ().
try this instead
Grade Final = VAR _Bracket = SEARCH("(", [Grade], ,0) RETURN IF (_Bracket > 0 , "Grade " & MID([Grade], _Bracket +1,1), "Grade " & MID([Grade], LEN([Grade]),1))regards
Phil
PhilipTreacy
2 years agoSuper User
Hi kangkopi15
Your example data is different to your actual data in that the actual data has some grades that do not contain ().
try this instead
Grade Final =
VAR _Bracket = SEARCH("(", [Grade], ,0)
RETURN
IF (_Bracket > 0 , "Grade " & MID([Grade], _Bracket +1,1), "Grade " & MID([Grade], LEN([Grade]),1))
regards
Phil
kangkopi15
2 years agoHelper I
This is working, thank you PhilipTreacy