ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

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

Take values from 1 column if the other is blank

premkav
6 - Meteoroid

Hi Team

I would like to have values in column C updated from column A. If A is blank, then take values from B, else retain A

In the formula tool how do I update it? My excel has =IF(A="",B,A)

3 REPLIES 3
pedrodrfaria
13 - Pulsar

Hi @premkav 

 

Just need to use the Formula tool to create/update the Column C with a function

 

"If isnull([Column A]) then [ColumnB] else [ColumnA] endif"  

 

Or maybe this one:

 

"If isempty([Column A]) then [ColumnB] else [ColumnA] endif"

 

 

pedrodrfaria_0-1613139311547.png

 

 

Pedro.

premkav
6 - Meteoroid

Thanks @pedrodrfaria 

 

I just tried the formula, but for some reason I cannot see the values

Do you know why this is so?

 

premkav_0-1613139886945.png

 

 

Regards,

premkav

premkav
6 - Meteoroid

Thanks @pedrodrfaria 

 

I got the solution

 

premkav_0-1613141187949.png

 

 

Regards,

premkav

Labels
Top Solution Authors