Index/Collect with Multiple Criteria
I'm having issues with this formula. It's returning #Invalid Value. Once I can get this to work, I have 4 more criteria to add. The "Sub Dept" columns are single-select drop-down. The Assigned column and the column the formula sits in are Contact List.
=INDEX(COLLECT({Assignments by Discipline Test Assigned}, {Assignments by Discipline Test}, @cell = [Accounting Sub Dept]@row, {Assignments by Discipline Test}, @cell = [Billing/Credit Sub Dept]@row), 1)
I've tried without @cell= and with it, and I've also tried eliminating the 1 at the end. Nothing is working.
Darla Brown
What you meditate on, you empower!
Overachiever - Core Product Certified - Mobilizer - EAP
Best Answer
-
If it's the same column for all your criteria then you should be able, instead, to use a single OR criteria.
Try this:
=INDEX(COLLECT({Assignments by Discipline Test Assigned},{Assignments by Discipline Test}, OR(@cell=[Accounting Sub Dept]@row , @cell=[Billing/Credit Sub Dept]@row)),1)
Answers
-
If it's the same column for all your criteria then you should be able, instead, to use a single OR criteria.
Try this:
=INDEX(COLLECT({Assignments by Discipline Test Assigned},{Assignments by Discipline Test}, OR(@cell=[Accounting Sub Dept]@row , @cell=[Billing/Credit Sub Dept]@row)),1)
-
This worked! Thank you!
Darla Brown
What you meditate on, you empower!
Overachiever - Core Product Certified - Mobilizer - EAP
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!