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.

How to Apply Text to Columns for Multiple Columns to Rearrange Text?

shaheer
8 - Asteroid

I want to format the following names:

 

Name1Name2Name3Name4
John, JoeRock, ChrisRock, TheWayne, Bruce

 

Like so:

 

Name1Name2Name3Name4
Joe JohnChris RockThe RockBruce Wayne

 

The attached image of the workflow helps me rearrange names in one column, but how can I go about doing the exact same thing for each column efficiently?

 

 

 

Thanks.

3 REPLIES 3
michelle_mathews
Alteryx Alumni (Retired)

@shaheer , you could use the Transpose tool to get all the names in one column, apply your formula once, and then use the Crosstab tool to unpivot them back into headers

 

Attaching an example like this, as well as one using Regex 

binuacs
21 - Polaris

@shaheer One way of doing this

 

binuacs_0-1664829466804.png

 

Emmanuel_G
13 - Pulsar

@shaheer 

 

One way of doing that easily.

 

Emmanuel_G_0-1664875333433.png

 

Labels
Top Solution Authors