Function: square(min(numbers('yxr'), numbers("xxx")) if numbers("xxx") if numbers('yxr') > min(numbers('yxr'), numbers("xxx")) else numbers('yxy') > numbers('yxr') else mean(numbers('yxy') if numbers('yxr') > min(numbers('yxr'), numbers("xxx")) else numbers("xxx"), min(numbers('yxr'), numbers("xxx"))))