ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
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