Hi All,
I know "and" / "or" in Alteryx behave differently than in Excel but I don't know. I need to use them both in a single formula but my logic is not working.
Conditions:
Status = "check income"
Income < 200 or > -200
The goal is to get the values in between < 200 and > -200.
Formula:
1. If status="check income" and income < 200 and income > -200 then...
2. If status="check income" and income < 200 or income > -200 then...
Unfortunately, both did not work.
Help please.
Thank you!
Solved! Go to Solution.
Hi @crazybeauti_ful ,
As @DavidP mentions, the first formula should bring home the task. However, if you've already tried and worked it out and it still doesn't give the solution, make sure the data type of the fields are correct before the formula tool and the data type you've selected for the output is correct in the Formula Tool.
If it still doesn't work, would you mind posting your workflow and a sample data set for review.
Regards
Benn
if you are dealing with a range such that the max is the opposite sign of the min, then you can us ABS(). In the case of your range -200 to 200, you could use ABS([income])<200.