Function: 2 *(numbers("xxr") if 100 *(sum(numbers('xry'), numbers("xxr"))) > numbers('xry') else sum(numbers('xry'), numbers("xxr"))) if sum(numbers('xry'), numbers("xxr")) > 100 *(sum(numbers('xry'), numbers("xxr"))) else numbers('xry') if numbers("xxr") > 100 *(sum(numbers('xry'), numbers("xxr"))) else sum(numbers('xry'), numbers("xxr"))