Health Check Formula Error
I am attempting to create a Red, Yellow, Green, Blue health check based on a Status Column and Planned and Actual Dates. I continue to get an #UNPARSABLE error message on below.
I have checked, spelling, quotation marks and I can validate every logic function except the first =IF statement. Thought it was a ")" issue, but validated those also....
Can anyone spot something basic that I might be missing?
=IF(Status1 = "Complete", "Blue",IF(OR(Status1 = “Cancelled”, Status1 = “Not Applicable”),“”,IF(Status1 = “On Hold”, “Yellow”,IF(AND(Status1 = "Not Started", [Planned Start Date]1 > TODAY()), "Green",IF(AND(Status1 = "In Progress", [Planned End Date]1 > TODAY()), "Green",IF(AND(Status1 = "Not Started", ISBLANK([Actual Start Date]1), [Planned Start Date]1 <= TODAY(-7)), "Red",IF(AND(Status1 = "In Progress", ISBLANK([Actual End Date]1), [Planned End Date]1 <= TODAY(-7)), "Red",IF(AND(Status1 = "Not Started", ISBLANK([Actual Start Date]1), [Planned Start Date]1 <= TODAY()), "Yellow",IF(AND(Status1 = "In Progress", ISBLANK([Actual End Date]1), [Planned End Date]1 <= TODAY()), "Yellow", “Red”)))))))))
Appreciate the help!
Comments
-
Yes, it looks like you might have created that formula in a word processing program which replaces straight quotes with smart quotes. Smart quotes (the slanted quotation marks) break formulas in smartsheeet.
Open up wordpad or notepad and replace all the quotations in your formula. That should do the trick. I always build my formulas in a plain text editor like notepad++ or Atom for Mac.
-
You are AWESOME!
I did start this in notepad and moved to word to build a supporting documentation. I also did initially copy back to notepad before coping to my smartsheet. But after your suggestion I copied back to notepad and did notice "" discrepancies. I replaced all to be safe, and it's looking good... ! now just need to make sure it's doing what I want.
Thank you!!
-
Awesome, glad I could help you out.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 216 Industry Talk
- 456 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!