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.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!