How to run an index collect referencing two different sheets?
Hi everyone,
I'm trying to run an Index Collect formula that references two different sheets.
I want to pull in an email address based on an individual's name and position. The formula needs to reference our internal contractor database, as well as our staff list.
Below is what I've entered, but I'm getting an unparseable error.
Any thoughts?
=INDEX(COLLECT({BMG MASTER CREWING DATABASE_1}, {BMG MASTER CREWING DATABASE Range 1}, RESOURCE@row, {BMG MASTER CREWING DATABASE Range 2}, NAME@row), 1), INDEX(COLLECT({BMG STAFF LIST EMAIL}, {BMG STAFF LIST Range 1}, RESOURCE@row, {BMG STAFF LIST Range 2}, NAME@row), 1)
Best Answer
-
Try this:
=IFERROR(INDEX(COLLECT({BMG MASTER CREWING DATABASE_1}, {BMG MASTER CREWING DATABASE Range 1}, RESOURCE@row, {BMG MASTER CREWING DATABASE Range 2}, NAME@row), 1), INDEX(COLLECT({BMG STAFF LIST EMAIL}, {BMG STAFF LIST Range 1}, RESOURCE@row, {BMG STAFF LIST Range 2}, NAME@row), 1))
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!
Answers
-
Try this:
=IFERROR(INDEX(COLLECT({BMG MASTER CREWING DATABASE_1}, {BMG MASTER CREWING DATABASE Range 1}, RESOURCE@row, {BMG MASTER CREWING DATABASE Range 2}, NAME@row), 1), INDEX(COLLECT({BMG STAFF LIST EMAIL}, {BMG STAFF LIST Range 1}, RESOURCE@row, {BMG STAFF LIST Range 2}, NAME@row), 1))
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!
-
This works! Thanks, @Paul Newcome
-
Happy to help. 👍️
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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 379 Global Discussions
- 210 Industry Talk
- 441 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 300 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!