This site uses different types of cookies, including analytics and functional cookies (its own and from other sites). To change your cookie settings or find out more, click here. If you continue browsing our website, you accept these cookies.
We have extended our Early Bird Tickets for Inspire 2023! Discounted pricing goes until February 24th. Save your spot!
Hi all,
I am trying to extract the word "SAFE" from the [SECURITYOFFEREDOTHERDESC] where possible, and replace the word "Other" with it in the [SECURITYOFFEREDTYPE]
There are may different ways that "SAFE" is represented - some capitalized, some not, some spelled out, and some not. Is there a way I can do this in Alteryx? \
Thanks in advance!
-Matt
Solved! Go to Solution.
Hi @mokawner , is this something you are looking for? This can be achieved using Find and Replace tool.
Input
Output
Thanks.
Thank you so much @gabrielvilella and @grazitti_sapna !! You guys are awesome.
@gabrielvilella this is very helpful, but wondering if you could expand this a bit. The attached file has multiple columns, but I am only concerned with Primary Address. The goal is to find the state abbreviation and pull it out/place it in a separate column. At first, I thought I could use the formula tool and the IF-ELSE-THEN statement, but that didn't work for me (read: I was only able to pull out a single state, not multiple). Advice on the best way to accomplish this would be very helpful. Thank you!
@lynnekilgore the best option for you is the Find and Replace. Create a table (can be a simple Text Input) with all the state abbreviations. Find that field on the address field of the other table, check the options to Append Field and select the state abbreviation field.
This worked! So simple, kicking myself for not realizing this was the answer. Thank you so very much.