Question on an IF statement formula
Hello!
I would like to create a formula that makes a status column be either red, yellow, or green (using the symbols) and the rules read like this:
IF the due date is in the past AND the paid column is no, then show red in the status column
IF the due date is within the next 5 days, and the paid column is no, then show yellow in the status column
IF the due date is greater than 5 days out, and the paid column is no, then show green in the status column
If the paid column shows yes, then show gray in the status column
Thank you!!
Best Answer
-
Try something like this...
=IF(Paid@row = "Yes", "Gray", IF([Due Date]@row < TODAY(), "Red", IF([Due Date]@row <= TODAY(5), "Yellow", "Green")))
Answers
-
Try something like this...
=IF(Paid@row = "Yes", "Gray", IF([Due Date]@row < TODAY(), "Red", IF([Due Date]@row <= TODAY(5), "Yellow", "Green")))
-
That worked great - thanks Paul!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!