Function: invert(numbers("per")) if numbers('epe') if invert(numbers("per")) > numbers('ryy') else numbers("per") > numbers("per") if numbers("per") if numbers('epe') > numbers('ryy') else invert(numbers("per")) > mean(invert(numbers("per")) if numbers("per") > numbers('ryy') else numbers('epe'), invert(numbers("per"))) else invert(numbers("per")) else mean(numbers("per") if numbers('ryy') > invert(numbers("per")) else numbers('epe'), invert(numbers("per")))