#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
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!