I need an actual working gs code for this but I cant seem to find the correct function for this so I scraped an explainable version of this, it works like an onEdit function
function(value, modifier) {
if (value < modifier) = setBackground("red");
}
function(value, modifier) {
if (value > modifier) = setBackground("blue");
}
what I want: -change cell color and cell highlight color to red if new input value is greater than previous one -change cell color and cell highlight color to blue if new input value is less than previous one
Thank you very much in advance! I really need help and any would be greatly appreciated :)