How to add greater than/less than logic with two different outcomes?