Function: invert(band pass(numbers("yxx")) if numbers('yxy') > numbers("xxr") else numbers("yxx") if numbers("yxx") > band pass(numbers("yxx")) if numbers('yxy') > numbers("yxx") else numbers("xxr") if numbers("yxx") > numbers('yxy') else band pass(numbers("yxx")) else band pass(numbers("yxx")))