"Health" Column Symbols
My Health Column Type is Balls
I need to set the ball colors like this:
Red if Due Date is before Today
Yellow if Due Date is Today
Green if Due Date is After Today
Blue if Status is not "Complete" "On Hold", Cancelled" or "Rejected"
This part works
=IF([Due Date]@row < TODAY(), "Red", IF([Due Date]@row = TODAY(), "Yellow", IF([Due Date]@row > TODAY(), "Green")))
I cant get the blue to work and I'm not sure how to add multiple values to the formula
=IF([Due Date]@row < TODAY(), "Red", IF([Due Date]@row = TODAY(), "Yellow", IF([Due Date]@row > TODAY(), "Green", IF(Status@row <> "Complete" OR "On Hold" OR , "Blue"))))
Best Answer
-
Try moving it to the start of the formula:
=IF(OR(Status@row = "Complete", Status@row = "On Hold"), "Blue", IF([Due Date]@row < TODAY(), "Red", IF([Due Date]@row = TODAY(), "Yellow", IF([Due Date]@row > TODAY(), "Green"))))
Answers
-
Try this:
=IF([Due Date]@row < TODAY(), "Red", IF([Due Date]@row = TODAY(), "Yellow", IF([Due Date]@row > TODAY(), "Green", IF(OR(Status@row <> "Complete", Status@row <> "On Hold"), "Blue"))))
-
Thanks Paul
I misspoke in my original post. I meant to say = rather than <>.
In any event, this does not fire the Blue part
=IF([Due Date]@row < TODAY(), "Red", IF([Due Date]@row = TODAY(), "Yellow", IF([Due Date]@row > TODAY(), "Green", IF(OR(Status@row = "Complete", Status@row = "On Hold"), "Blue"))))
This bit works on its own but not when included with the rest
=IF(OR(Status@row = "Complete", Status@row = "On Hold"), "Blue")
-
Try moving it to the start of the formula:
=IF(OR(Status@row = "Complete", Status@row = "On Hold"), "Blue", IF([Due Date]@row < TODAY(), "Red", IF([Due Date]@row = TODAY(), "Yellow", IF([Due Date]@row > TODAY(), "Green"))))
-
Ah.. That was it..
Thanks Paul
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 450 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!