Is it possible to have multiple return ranges located in multiple forms with INDEX COLLECT?
For example, pulling from one other sheet will use the following:
=index(collect(return RANGE, criteria RANGE 1, criteria 1, ,1)
I am looking for the INDEX COLLECT function to return values from multiple sheets depending on if the criteria range matches my @row. This will be the only criteria I search on.
Thanks!
Best Answer
-
It's possible to use several INDEX/COLLECTS inside of nested IF statements. For example:
=IF(Name@row = "Jeff", INDEX(COLLECT(return RANGE, criteria RANGE 1, criteria 1, ,1), IF(Name@row = "Charlotte", INDEX(COLLECT(return RANGE2, criteria RANGE 2, criteria 2, ,1), ""))
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
Answers
-
It's possible to use several INDEX/COLLECTS inside of nested IF statements. For example:
=IF(Name@row = "Jeff", INDEX(COLLECT(return RANGE, criteria RANGE 1, criteria 1, ,1), IF(Name@row = "Charlotte", INDEX(COLLECT(return RANGE2, criteria RANGE 2, criteria 2, ,1), ""))
Regards,
Jeff Reisman
Link: Smartsheet Functions Help Pages Link: Smartsheet Formula Error Messages
If my answer helped solve your issue, please mark it as accepted so that other users can find it later. Thanks!
-
Thank you, this makes sense however I am still receiving an error message. Instead of clicking the reference another sheet button for each INDEX statement, I merely changed the Sheet name in the formula text string. Think that could be my issue?
-
Yup looks like I had to enter in each sheet link using the "reference another sheet" link for each one. No worries, this is all fixed now. Thanks!!!!
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
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!