Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.

Alteryx Designer Cloud Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Cloud.
SOLVED

Conditional Formula

MoeShow
7 - Meteor

Hi - I'm trying to create a formula which will allow me to replace a column word if a condition holds true and I can't quite figure it out. 

 

This is what I'm trying to do - If "Start Date" is greater than "Month End Date" then replace the "Accounting Lead" column name with "N/A - Future Expense." I tried a couple of if statements with no luck. 

If Statement.png

2 REPLIES 2
patrick_digan
17 - Castor
17 - Castor

@MoeShow Try a formula like this for the Accounting Lead field:

If [Start Date] > [Month End Date] then "N/A - Future Expense" Else [Accounting Lead] endif
MoeShow
7 - Meteor

@patrick_digan I had the wrong column being pulled in. Issue solved.