Forum Discussion
STEPHANIEMILBU2
9 years agoQrew Cadet
Yeah I get where to do it. I need to know how to build the formula.
- ChuckGrigsby9 years agoQrew Cadetif ([Status] = "In Progress" and [Due Date] < Today(), "red", "")
The way it works is like this
IF("CONDITION" , "Result if True", "Result if False")
can also use hex colors, black is #00000 for example. - STEPHANIEMILBU29 years agoQrew CadetChuck, thanks what if its if status does not equal and due date
- STEPHANIEMILBU29 years agoQrew CadetI ask because I have five statuses and we don't want to highlight the completed records
- ChuckGrigsby9 years agoQrew Cadetyou would use != for NOT EQUAL TO
- QuickBaseCoachD9 years agoQrew CaptainNot equal is <> in Quick Base.
News to me if != also works. - ChuckGrigsby9 years agoQrew CadetYou're right, javascript is !=, quickbase uses <>
- STEPHANIEMILBU29 years agoQrew CadetNow, I am receiving this message, "The expression [Process Due Date] on the left hand side of the operator "<>" is of type date while the expression "Green" on the right hand side is of type text. The operator "<>" cannot be used with these types of expressions."_
- ChuckGrigsby9 years agoQrew CadetCould you paste your formula? Sounds like a syntax issue, Green should be after the condition, separated by a comma. Like [Process Due Date] < Today(), "Green
- STEPHANIEMILBU29 years agoQrew CadetI fixed it; but this is the formula: If ([REC Status] <> "Green" and [Process Due Date] < Today(), "orange", "")
Thanks for all your help - ChuckGrigsby9 years agoQrew CadetAwesome! Glad you got it working!