Copy link to clipboard
Copied
Hoping someone can help me create a javascript to highlight the cell when a negative number is entered and when the formula, that is already in place, results in a negative number.
Thanks!!
You can add something like this to the end of your calculation script:
event.target.fillColor = (event.value<0) ? color.yellow : color.transparent;
Copy link to clipboard
Copied
Hoping someone can help me create a javascript to highlight the cell when a negative number is entered and when the formula, that is already in place, results in a negative number.
Thanks!!
You can add something like this to the end of your calculation script:
event.target.fillColor = (event.value<0) ? color.yellow : color.transparent;
Copy link to clipboard
Copied
You can add something like this to the end of your calculation script:
event.target.fillColor = (event.value<0) ? color.yellow : color.transparent;
Copy link to clipboard
Copied
Thank you!!