Formula Error at 100% Completion: How to Display 'Closed' Instead?

System
Employee
This discussion was created from comments split from: Automatic Project Phase Formula.
Answers
-
Hi,
Try wrapping your formula in an IFERROR. If your formula gives you an #INVALID VALUE error then you know that the project is 100% completed, so then display "Closed".
=IFERROR( INDEX(COLLECT(Task:Task, [% Complete]:[% Complete], AND(@cell <= 0.99, @cell >= 0 ), Hierarchy:Hierarchy, 1), 1), "Closed" )
Hope this helps!
Nathan Braun (Founder of SSFeatures) (nathan@ssfeatures.com)
SSFeatures - The browser extension that adds essential features into Smartsheet.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 66.2K Get Help
- 430 Global Discussions
- 150 Industry Talk
- 490 Announcements
- 5.2K Ideas & Feature Requests
- 85 Brandfolder
- 154 Just for fun
- 74 Community Job Board
- 500 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!