In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. 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

Nested ifs in Multi-Row formula

Jack6627
8 - Asteroid

I have a pretty convoluted nested if excel formula that I would like to embed into my Multi-Row formula tool. Can somebody please tell me how to write this to the tool?

 

=IF((IF(IF([A]="No",0,[B]-[C])<0,0,IF([A]="No",0,[B]-[C]))-[D])<0,0, (IF(IF([A]="No",0,[B]-[C])<0,0,IF([A]="No",0,[B]-[C]))-[D]))

3 REPLIES 3
atcodedog05
22 - Nova
22 - Nova

Hi @Jack6627 

 

One thing you can try is change Excel IF to IIF which is supported on Alteryx.

 

IF((IF(IF([A]="No",0,[B]-[C])<0,0,IF([A]="No",0,[B]-[C]))-[D])<0,0, (IF(IF([A]="No",0,[B]-[C])<0,0,IF([A]="No",0,[B]-[C]))-[D]))

 

to

 

IIF((IIF(IIF([A]="No",0,[B]-[C])<0,0,IIF([A]="No",0,[B]-[C]))-[D])<0,0, (IIF(IIF([A]="No",0,[B]-[C])<0,0,IIF([A]="No",0,[B]-[C]))-[D]))

 

Hope this helps : )

Jack6627
8 - Asteroid

@atcodedog05 thanks for pointing this out. This worked effortlessly! 🙂

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @Jack6627 

Cheers and have a nice day!

Labels
Top Solution Authors