Function: invert(min(mean(100 *(numbers("xxx")), numbers("xxx")), 100 *(numbers("xxx"))) if 100 *(numbers("xxx")) > mean(100 *(numbers("xxx")), numbers("xxx")) else max(min(mean(100 *(numbers("xxx")), numbers("xxx")), 100 *(numbers("xxx"))), mean(100 *(numbers("xxx")), numbers("xxx"))))