TextColor
The TextColor function sets the color of the text or value in a
.
<Expression_or_cell> is the value to attach the color to.
<CSS_color_name> is the CSS color name. A valid CSS color name is required.
Usage:
= TextColor(<expression_or_cell>, <CSS_color_name>)
Example:
if (sales > 0 && profits / sales >= 25%) {
return TextColor("all good", "green");
}
return TextColor("warning", "red");