Alteryx Designer Desktop Discussions

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

parse v. regex v. formula?

DDeCree
7 - Meteor

How can I take the existing cell below and make it like the desired cell below?

Existing Cell:

AnyBank N.A., Paris branch, AnyBank Bank N.A., Singapore branch, AnyBank (Suisse) S.A., AnyBank Luxembourg S.A., Head Office

Desired Cell:

AnyBank N.A., Paris branch; AnyBank N.A., Singapore branch; AnyBank (Suisse) S.A.; AnyBank Luxembourg S.A., Head Office

4 REPLIES 4
messi007
15 - Aurora
15 - Aurora

@DDeCree,

 

Please see below :

 

messi007_0-1643390497554.png

Hope this helps,

Attached the workflow,

OllieClarke
15 - Aurora
15 - Aurora

Hey @DDeCree, you can get the text to align using the following formula:

 

Replace(Replace([Field1],' Bank',''),', AnyBank','; AnyBank')

 

Which will remove the instance of Bank after AnyBank and also replace all commas with a semi-colon if they immediately precede AnyBank.

 

Hope that helps,

 

Ollie

DDeCree
7 - Meteor

thank you for the assistance.

DDeCree
7 - Meteor

thank you.

Labels