Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.

Help with a formula

Idyllic_Data_Geek
8 - Asteroid

I'm trying to write a formula for the below requirement

 

If column 1 contains II then Column 2 = II

elseif column 1 contains III then column 2 = III

elseif column 1 contains IV then column 2 = IV

elseif column 1 contains JR then Column2 = JR

elseif column 1 contains SR then column 2 = SR

else null()

 

Column 1Column 2
IND IIII
IND IIIIII
IND IVIV
IND JRJR
IND JRSR
2 REPLIES 2
Idyllic_Data_Geek
8 - Asteroid

I got it figured out with the Regex match calc. Please ignore my ask

AndrewSu
Alteryx Alumni (Retired)

Hi @Idyllic_Data_Geek ,  do you  mind sharing your solution here so that other's in the community can learn?

 

Thanks!

Labels
Top Solution Authors