Function: numbers('xry') if invert(numbers('xry')) > numbers("xxx") else mean(invert(numbers('xry')), numbers('xry')) if invert(numbers('xry')) > numbers("xxx") if mean(invert(numbers('xry')), numbers('xry')) > invert(numbers('xry')) else numbers('xry') if mean(invert(numbers('xry')), numbers('xry')) > numbers('xry') else invert(numbers('xry')) else mean(invert(numbers('xry')), numbers('xry'))