Function: invert(numbers('xry')) if numbers('ryy') > sum(invert(numbers('xry')), numbers('xry')) else numbers('xry') if invert(numbers('xry')) > sum(invert(numbers('xry')), numbers('xry')) else invert(numbers('xry')) if sum(invert(numbers('xry')), numbers('xry')) > numbers('xry') else numbers('ryy') if sum(invert(numbers('xry')), numbers('xry')) > numbers('xry') else invert(numbers('xry'))