Bring your best ideas to the AI Use Case Contest! Enter to win 40 hours of expert engineering support and bring your vision to life using the powerful combination of Alteryx + AI. Learn more now, or go straight to the submission form.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Conditional Statement Help

CamilleB
6 - Meteoroid

Hi I am needing help in converting the following excel formula to Alteryx:

 

=IF(AND(B2<40,A2="Active"),$E$2,IF(AND(B2<50,A2="Active"),$E$3,IF(AND(B2<55,A2="Active"),$E$4,IF(AND(B2>=55,A2="Active"),$E$5,$E$6))))

 

I have attached a shortened version of the spreadsheet I am working with just to give context.

 

So far I have the following formula, I know I am definitely missing something:

 

CamilleB_0-1628794275510.png

 

Any help/guidance that can be provided would be greatly appreciated.

 

5 REPLIES 5
atcodedog05
22 - Nova
22 - Nova

.

atcodedog05
22 - Nova
22 - Nova

Hi @CamilleB 

 

Here is how you can do it. The formula would be like below. $E$2 absolute cell referencing cant be used in alteryx 😅

 

Workflow:

atcodedog05_0-1628795241728.png

 

Hope this helps : )

Kamran1991
11 - Bolide

Age Bracket.PNG

I hope the attached solution will work

Age Bracket.PNG

CamilleB
6 - Meteoroid

Thank you all @atcodedog05 and @Kamran1991 that worked!

atcodedog05
22 - Nova
22 - Nova

Happy to help : ) @CamilleB 

Cheers and have a nice day!

Labels
Top Solution Authors