Hi Community,
Currently i had negative and positive figures in two different set : Data A and Data B as per screenshot below. May i know is it possible for alteryx to auto detect whether it is positive or negative figures?

It is because i plan to use the if formula as below in Alteryx. Not sure if this is doable in Alteryx.
1. If both Data A and B are positive figures, then Data A minus Data B
2. If Data A is negative and Data B is positive figure, then Data A plus Data B
3. If Data A is positive and Data B is negative figure, then Data A plus Data B
4. If both Data A and B are negative figures, then Data A minus Data B
Thank you so much for your help.