IF(AND ......formula help needed
I am trying to add one more argument to my formula below to return a green symbol "if a task is underway and not due within the next 30 days...otherwise leave it blank". This is so I can easily pull the task into a summary report. The first formula below works fine but when I try to add (see third formula) is says unparsable. Any thoughts on what is wrong are much appreciated?
this original formula works
=IF(Status@row = 1, "Gray", IF(AND(Finish@row < TODAY(+3), Status@row = 0), "Red", IF(Finish@row < TODAY(+30), "Yellow", "")))
I can add the Green as a default but I really want it to return green only if the task has started (this one below works):
=IF(Status@row = 1, "Gray", IF(AND(Finish@row < TODAY(+3), Status@row = 0), "Red", IF(Finish@row < TODAY(+30), "Yellow", "Green")))
this does not work:
=IF(Status@row = 1, "Gray", IF(AND(Finish@row < TODAY(+3), Status@row = 0), "Red", IF(Finish@row < TODAY(+30), "Yellow", IF(AND(Finish@row > TODAY(+30), Start@row < TODAY, "Green","")))
🤔
Best Answers
-
try
=IF(Status@row = 1, "Gray", IF(AND(Finish@row < TODAY(+3), Status@row = 0), "Red", IF(Finish@row < TODAY(+30), "Yellow", IF(AND(Finish@row > TODAY(+30), Start@row < TODAY()), "Green", ""))))
-
Yes!! Thanks so much. We're rolling now...
Answers
-
try
=IF(Status@row = 1, "Gray", IF(AND(Finish@row < TODAY(+3), Status@row = 0), "Red", IF(Finish@row < TODAY(+30), "Yellow", IF(AND(Finish@row > TODAY(+30), Start@row < TODAY()), "Green", ""))))
-
Yes!! Thanks so much. We're rolling now...
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 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!