Index Collect Formula (i think) question
I am trying to return a value from another sheet based on 2 pieces of criteria. I am looking to return the "Date Requested" data based on the "Operator" and "Request Type" criteria. This is the formula I am using. I am getting an INCORRECT ARGUMENT error however. Appreciate any guidance
=INDEX(COLLECT({Operator}, Operator@row, {Request Type}, [Request Type]@row, {Date Requested}, 0))
Answers
-
I've updated my formula to this, and now getting an INVALID VALUE error
=INDEX(COLLECT({Date Requested}, {Operator}, Operator@row, {Request Type}, [Request Type]@row), 1)
-
Hey @Ryan Doyle
Is the column type where your formula sits a DATE column? Your COLLECT data appears to be a date value.
Kelly
-
Hi @Kelly Moore
Yes, the column type where my formula sits is a DATE column.
-
Is it possible for screenshots of your source and destination sheets? As a test you can run, first delete {Request Type}, [Request Type]@row from the formula. Do you still get an error? If not, put the Request type range-criteria back in the formula and take the Operator range-criteria out of the formula. This will tell you what criteria is a problem.
Kelly
-
Good analysis
-
I was able to solve my problem. Ultimately I had the formula correct. I had mismatching values between the source sheet and the destination sheet. I was so focused on the complexity of the formula that i overlooked the easy part.
thank you so much for helping!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 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!