Index Collect Formula works perfectly in everything except a Parent row.
My index Collect Formula works perfectly in everything except a Parent row, does anyone have a solution? This is the current formula - =INDEX(COLLECT({Task}, {ID}, [Ops Plan ID]@row), 1)"
Answers
-
Are you able to provide screenshots?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Thanks Paul
See attached screen shots attached. you will see that ID # 1.1.1 returns with the correct result but ID 1.1 returns with # INVALID VALUE. ID1.1 is a parent row
Cheers
-
How are each of the WBS columns being populated exactly?
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Hi Paul
See attached screenshots, the column type(s) and formulas are as follows;
LVL - text/Number - =COUNT(ANCESTORS()) + 1
Level Code - text/ number - =IF(NOT([Skip WBS]@row), MATCH([Row ID]@row, COLLECT([Row ID]:[Row ID], Ancestors:Ancestors, Ancestors@row, [Skip WBS]:[Skip WBS], false), 0))
Count - text/number - =COUNT(ANCESTORS())
Ancestors - text/number - =JOIN(ANCESTORS([Row ID]@row), " > ")
Row ID - see attachment -
Skip WBS - checkbox
ID Number - Text/number - =IF(NOT([Skip WBS]@row), UPPER(IF(COUNT(ANCESTORS()) = 0, [Level Code]@row, JOIN(COLLECT(ANCESTORS([Level Code]@row), ANCESTORS([Level Code]@row), NOT(ISBLANK(@cell))), ".") + "." + [Level Code]@row)))
Regards
George A
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 380 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!