How to use Index(Collect(....
I'm trying to build a summary sheet that will pull values from a task list.
How do I have the values in row 1 of the summary sheet reference the corresponding values under the 12345 parent.
I think that INDEX and COLLECT are the tools I need but I don't know where to start.
Best Answer
-
You will first need a helper column on the source sheet that brings the 12345 onto every row.
=IF(COUNT(ANCESTORS([Part Number]@row)) = 0, [Part Number]@row, INDEX(ANCESTORS([Part Number]@row), 1))
Then you INDEX/COLLECT would be along the lines of
=INDEX(COLLECT({Checkbox Column}, {Helper Column}, @cell = [Part Number]@row, {Part Number Column}, @cell = "Drawings"), 1)
Answers
-
You will first need a helper column on the source sheet that brings the 12345 onto every row.
=IF(COUNT(ANCESTORS([Part Number]@row)) = 0, [Part Number]@row, INDEX(ANCESTORS([Part Number]@row), 1))
Then you INDEX/COLLECT would be along the lines of
=INDEX(COLLECT({Checkbox Column}, {Helper Column}, @cell = [Part Number]@row, {Part Number Column}, @cell = "Drawings"), 1)
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 495 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!