The Summer Cup has officially kicked off! Get ready to learn, connect, and compete! Complete Community engagement tasks to earn points and unlock exclusive Summer Cup badges for your profile. Learn more here!

Alteryx Designer Desktop Discussions

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

IF FORMULA ISSUE

malcorr
8 - Asteroid

Hello Everyone, 

 

I have the following set of information, And I need a formula so that if the "Description" Column is "null" then the respective value on the "ROW" column needs to be "null" or blank as well.

 

Any ideas?

 

malcorr_0-1595369649693.png

 

Thanks!

 

3 REPLIES 3
DavidP
17 - Castor
17 - Castor

Add a formula tool and select the ROW field to update.

 

The formula is then:

 

if isnull([Description] then "" else [ROW] endif

T_Willins
14 - Magnetar
14 - Magnetar

Hi @malcorr,

 

Set your column in your Formula tool to 'Row' then use the formula IF IsNull([Description]) THEN Null() ELSE [Row] ENDIF

 

If you want it to be blank instead, substitute Null() with ""

Hi @malcorr 

 

You can add a "Formula" tool and from the drop down select "Row" and write the formula as following:

 

if IsNull([Description]) then null() else [Row] endif

 

It is going to replace the Row value with null whenever the description is null w/o creating a new column. Hope this helps.

Labels
Top Solution Authors