Function: min(numbers('ryy'), numbers("xxr")) if invert(sum(min(numbers('ryy'), numbers("xxr")), numbers('ryy'))) > sum(min(numbers('ryy'), numbers("xxr")), numbers('ryy')) else numbers('ryy') if sum(min(numbers('ryy'), numbers("xxr")), numbers('ryy')) > min(numbers('ryy'), numbers("xxr")) else invert(sum(min(numbers('ryy'), numbers("xxr")), numbers('ryy')))