Function: mod(mean(numbers('rep'), numbers("xxr")) if numbers('rep') if max(mean(numbers('rep'), numbers("xxr")), numbers('rep')) > mean(numbers('rep'), numbers("xxr")) else numbers("xxr") > max(mean(numbers('rep'), numbers("xxr")), numbers('rep')) else numbers('rep'), mean(numbers('rep'), numbers("xxr")) if numbers("xxr") > numbers('rep') else max(mean(numbers('rep'), numbers("xxr")), numbers('rep')))