Using the Index(Collect) function to produce multiple results
Hi everyone,
I'm looking for guidance on an index(collect) formula.
I maintain a master list of independent contractors within Smartsheet. I have a secondary list documenting all independent contractors hired in the current year, which is broken down by project.
In my master list, I want to add a column listing all the projects each contractor has been hired to work. I have a forumula that's spitting back data, but it's only showing me the most recent project each contractor was booked on - it's not listing everything.
Is there a way to manipulate this so it shows me ALL of the projects and not just the most recent?
Here's my current formula:
=INDEX(COLLECT({2024 CONTRACTOR BOOKINGS - project}, {POSITION / RESOURCE}, POSITION@row, {2024 CONTRACTOR BOOKINGS - NAME}, NAME@row), 1)
NOTE: I tried subbing ",1" with ", " "", but that didn't work.
Answers
-
Try this: =JOIN(COLLECT({2024 CONTRACTOR BOOKINGS - project}, {POSITION / RESOURCE}, POSITION@row, {2024 CONTRACTOR BOOKINGS - NAME}, NAME@row), ",")
-
@Adam Murphy - that did the trick! Thanks so much.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 348 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!