Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Alteryx Designer Desktop Discussions

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

Copy a column data from a column and pasting it into another column's empty cell

gavinloi
8 - Asteroid

Hi all,

 

What I am trying to achieve is that by copying data from column A and pasting it into the empty cell's of column B without amending cells in column B that already has values.

 

Thanks!

 

7 REPLIES 7
Emil_Kos
17 - Castor
17 - Castor

Hi @gavinloi,

 

this is the formula that you need to use:

 

IIF(IsNull([B]), [A], [B])

 

Please see the workflow attached. 

atcodedog05
22 - Nova
22 - Nova

Hi @gavinloi 

 

This can easily achieved by formula tool.

 

Input:

atcodedog05_0-1620803368386.png

Workflow & output:

atcodedog05_1-1620803404201.png

The formula needs to applied on Column B (Target column). IsEmpty() checks whether the column is Null or blank. IIF() is a if else condition if column B is empty then column B else remain unchanged and keep column B.

 

Hope this helps 🙂

 

Emil_Kos
17 - Castor
17 - Castor

Hi @atcodedog05

 

Long time no see 🙂 

 

Cookie monster is back 😄

atcodedog05
22 - Nova
22 - Nova

Hi @Emil_Kos 

 

Yup has been a while 🙂

 

8f45b5b70c7f663d96d10bebe10a8c9b.jpg

 

😜

gavinloi
8 - Asteroid

Many thanks! It works 😀

gavinloi
8 - Asteroid

Many thanks!😀

Emil_Kos
17 - Castor
17 - Castor

Hi @atcodedog05,

 

No cookies for us 🙂

 

 

Emil_Kos_1-1620805939225.png

 

Labels