We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Changing Column Values based upon if another Column contains a certain word

ronrona96
5 - Atom

Hello - I have been searching but am unable to find the formula for my particular situation. Can anyone please share the formula with me for the following:

 

If my column titled [WBS Description] contains the word "Learn" then I want the value in the column titled [Service Type] to be changed to "Training"

 

I can't seem to get the formula correct. Any help is greatly appreciated!

Thanks in advance!

2 REPLIES 2
T_Willins
14 - Magnetar
14 - Magnetar

Hi @ronrona96 

 

Use a Formula tool set the column to [Service Type] and use the formula 

IF Contains([WBS Description], "Learn") THEN "Training" Else [Service Type] ENDIF

ronrona96
5 - Atom

You are a blessing! Thank you so very much for answering at this late hour. I am very grateful. My output was not set to right column.

Have a great night.

Labels
Top Solution Authors