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.5K Get Help
- 468 Global Discussions
- 156 Industry Talk
- 511 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 156 Just for fun
- 81 Community Job Board
- 521 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!