Why does my nested formula work for some cells in the column but not all?

#INVALID OPERATION is the error message I receive for some but not all cells.
=IF(AND([Created By Date]@row < TODAY(-365), [Target Completion Date]@row < TODAY()), "Red", IF(AND([Target Completion Date]@row >= TODAY(), ISBLANK([Project Status]@row)), "Yellow", IF([Project Status]@row = "Complete", "Green", IF([Target Completion Date]@row = 0, "Gray"))))
Answers
-
Can you share examples of which cells it's not working for? Formula looks pretty robust to me, other than I would use "" instead of 0 in the last part ahead of "Gray", ie IF([Target Completion Date]@row = 0, "Gray")))) but that doesn't stop it working
Rich @ Prodactive
Rich Coles
Prodactive | Smartsheet-aligned Platinum partners
Check out our Smartsheet-dedicated YouTube channel for tips, tricks and inspiration
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!