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

How to move a character to another column

monigarza
6 - Meteoroid

Hey all, does anyone know how to transfer one character to another column? For example, I want to move that "0" from column G to column F, right at the end. So that the amount in column F is equal to "9,500.400". 

monigarza_2-1595623220245.png

 

I have tried with the formula tool applying the next conditional: 

 

IF [Currency]= "MXN" THEN "MXN" ELSEIF [Currency]= "USD" THEN "USD" ELSE ENDIF 

 

But I just don't know how to complete the formula, or what should I do in order to get the result that I want. 

 

Please help me, thanks in advice!! 

 

2 REPLIES 2
DavidP
17 - Castor
17 - Castor

Probably the easiest thing to do is to combine the 2 columns:

[New Column]:

 

if Contains([Currency],' ') then [Foreign Currency] + [Currency] else [Foreign Currency] +' '+ [Currency] endif

 

then do Text to columns with a space (\s) as delimiter

monigarza
6 - Meteoroid

Thank you so much!! It totally worked!! 🙂 

Labels
Top Solution Authors