Forum Discussion
QuickBaseJunkie
Qrew Legend
31 days agoThis should do it
var number DR = -(ToDays(Today() - ToDate([Due Date])));
If(
$DR = 5,"Red",
$DR > 5 and $DR <= 10,"Yellow",
$DR > 10,"Green",
$DR < 0,"Purple")
You can also replace the names like "Yellow" with a hex code like "#FDFD96" if you find the named color is not the best shade. Just be sure to include the pound sign.
-Sharon