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

If condition

nasya_azureen
6 - Meteoroid

Hello! I have a simple problem yet I couldn't fine any if else formula that fits to solve the issue. I have two columns; [shipping_state] and [shipping_country]. I want to make it auto-fill if [shipping_state] is not blank, then [shipping_country] must automatically fill out "MYS". This is the only condition that I want to put into the formula. I tried to use IIF but I couldn't make the second column to fit into the formula.

3 REPLIES 3
Qiu
21 - Polaris
21 - Polaris

@nasya_azureen 

We can do something as below, but I suspect your condition is " [shipping_state] is not blank"?

0425-nasya_azureen.PNG

nasya_azureen
6 - Meteoroid

Yes, the condition for [shipping_state] is not blank and your solution worked out very well! Thank you!

Qiu
21 - Polaris
21 - Polaris

@nasya_azureen 
Glad it works. Thank you for the feedback! 

Labels
Top Solution Authors