Change Symbols with respect to due dates
I want to do this
if Due date has 3 or less than 3 days left ="Yellow"
if Due date has passed ="Red"
if Due date has more than 3 days left ="Red"
if Due date row is empty = "Gray"
The formula I'm using
=IF([Due Date]@row = TODAY(3), "Yellow", IF([Due Date]@row = TODAY(2), "Yellow", IF([Due Date]@row = TODAY(1), "Yellow", IF([Due Date]@row = TODAY(0), "Yellow", IF(AND([Due Date]@row < TODAY(0), [Due Date]@row > 0), "Red", IF([Due Date]@row > TODAY(3), "Green",IF([Due Date]@row = 0, "Gray")))))))
Best Answers
-
I got the solution it was just a mistake in order of if statements
-
Hi @UKASHA
Can you provide the correct formula? 😎
-
Hi @David G Correct formula is here
if Due date has 3 or less than 3 days left ="Yellow"
if Due date has passed ="Red"
if Due date has more than 3 days left ="Green"
if Due date row is empty = "Gray"
=(IF(ISBLANK([Due Date]@row), "Gray", IF([Due Date]@row = TODAY(3), "Yellow", IF([Due Date]@row = TODAY(2), "Yellow", IF([Due Date]@row = TODAY(1), "Yellow", IF([Due Date]@row = TODAY(0), "Yellow", IF([Due Date]@row > TODAY(3), "Green", IF([Due Date]@row < TODAY(), "Red"))))))))
Answers
-
I got the solution it was just a mistake in order of if statements
-
Hi @UKASHA
Can you provide the correct formula? 😎
-
Hi @David G Correct formula is here
if Due date has 3 or less than 3 days left ="Yellow"
if Due date has passed ="Red"
if Due date has more than 3 days left ="Green"
if Due date row is empty = "Gray"
=(IF(ISBLANK([Due Date]@row), "Gray", IF([Due Date]@row = TODAY(3), "Yellow", IF([Due Date]@row = TODAY(2), "Yellow", IF([Due Date]@row = TODAY(1), "Yellow", IF([Due Date]@row = TODAY(0), "Yellow", IF([Due Date]@row > TODAY(3), "Green", IF([Due Date]@row < TODAY(), "Red"))))))))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!