Seeing #UNPARSEABLE issue when applying formulae in the summary

Wanted to calculate the Average of time difference with some conditions like Implemented column is checked for the Level 1, and the final Level2 task is completed, then calculate time from the dates in the final level2 task called 'ECO Implementation".
Here is the formula I generated but I see #UNPARSEABLE error.
=AVG(COLLECT([Actual Completion Date]:[Actual Completion Date], AND(ANCESTORS([Level]@row) = 1, [Implemented]@column= true, [Task]@row = "ECO Implementation", [Status]@row = "Completed")) - COLLECT([Start Date]:[Start Date], AND(ANCESTORS([Level]@row) = 1, [Implemented]@column= true, [Task]@row = "ECO Implementation", [Status]@row = "Completed")))
Request your guidance to correct the mistake that I couldn't find.
Also, as a next step, I'd like to calculate AVG time based on one more condition called Workflow type that selected for all Level1 tasks. Need your support!
Answers
-
Hi @Kiranb -
The syntax for the COLLECT function is (Range, Criterion_Range1, Criterion1, Criterion_Range2, Criterion 2…..)
I suspect you may not need your AND statements, as they look like various criteria defining what you want to collect. It looks like your formula may be missing the criterion ranges.
Feel free to include a screenshot of your sheet(s) if you're able to do so! That's often really helpful for the community to troubleshoot formulas. :)
Kindly,
jen
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.6K Get Help
- 472 Global Discussions
- 200 Use Cases
- 513 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 81 Community Job Board
- 520 Show & Tell
- 35 Member Spotlight
- 3 SmartStories
- 307 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!