Formula to set red/yellow/green status based on information in two fields.
I am trying to set a field to red if an agreement has been sent 30 or more days ago but the received date is blank. I used the following two formulas, but both times, I get the unpassable error. Can you help me figure out what I'm doing wrong?
=IF(AND([ESA Sent Date]@row+30(),[Employer/Student
Agreement Received Date]@row ISBLANK, "Red", IF(AND(([ESA Sent
Date]@row+15(),[Employer/Student Agreement Received Date]@row ISBLANK, ”Yellow”,
“Green”))
=IF(AND([ESA Sent Date]@row+30,[Employer/Student Agreement Received Date]@row ISBLANK, "Red", IF(AND(([ESA Sent
Date]@row+15,[Employer/Student Agreement Received Date]@row ISBLANK, ”Yellow”,
“Green”))
I appreciate your time and help!
Nancy Jones
Best Answer
-
Try this:
=IF([Employer/Student Agreement Received Date]@row = "", IF([ESA Sent Date]@row< TODAY(-30), "Red", IF([ESA Sent Date]@row<TODAY(-15), "Yellow", "Green")), "Green")
Answers
-
Try this:
=IF([Employer/Student Agreement Received Date]@row = "", IF([ESA Sent Date]@row< TODAY(-30), "Red", IF([ESA Sent Date]@row<TODAY(-15), "Yellow", "Green")), "Green")
-
That worked. Thank you so much!
-
-
James,
Thank you so much. I was just trying to work out the is blank piece when I received your update. That's exactly what I needed.
Have a great day!
Nancy
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!