#invalid value for index/collect
Hello,
I have a source sheet that I need to pull in the Tester when both the AssignID and the LOB match. I tried Match first and then read that Collect is better for this scenario. I figure out why I am getter the invalid value.
=(INDEX(COLLECT({Business Assignees Tester}, {Business Assignees AssignID}, AssignID@row, {Business Assignees LOB}, AssignID@row), 1)
Any help is appreciated.
Best Answer
-
I figure out what I was doing wrong... I was referencing the wrong row for the Assignees LOB. when I fixed this it worked perfectly. Thank you for your response!
=(INDEX(COLLECT({Business Assignees Tester}, {Business Assignees AssignID}, AssignID@row, {Business Assignees LOB}, Business Line@row), 1)
Answers
-
The formula syntax looks good. You may see an INVALID VALUE error if the COLLECT does not find anything.
Can you share a screenshot of both sheets, one showing the formula in the cell and the AssignID column and the other showing a row in your data sheet where the AssignID and LOB matches that in the first?
-
I figure out what I was doing wrong... I was referencing the wrong row for the Assignees LOB. when I fixed this it worked perfectly. Thank you for your response!
=(INDEX(COLLECT({Business Assignees Tester}, {Business Assignees AssignID}, AssignID@row, {Business Assignees LOB}, Business Line@row), 1)
-
Great news. Well done!
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!