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

Answers
-
Hello,
I have the following formula is working until the whole project is at 100% then we get #INVALID VALUE
what can I change for one project is total 100% to show Closed
=INDEX(COLLECT(Task:Task, [% Complete]:[% Complete], AND(@cell <= 0.99, @cell >= 0 ), Hierarchy:Hierarchy, 1), 1)
-
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) (LinkedIn)
SSFeatures makes Smartsheet way easier to use and it saves you hours of work every week. It adds essential features into Smartsheet to save you time. For example: — Auto Sorting — Sorting with Filters — Report PDF Generation — Copy and Paste Conditional Formats — Copy and Paste Automation Workflows — Column Manager — and so many more.
Help Article Resources
Categories
Check out the Formula Handbook template!