How to use multiple Matches in an Index + Match formula.
Hi community,
Trying to use multiple conditions (matches) to pull data from a table (range).
Currently, the Index + Match formula combination is only able to use ONE match condition.
Can you use 2 or more matches with Index formula?
Best Answers
-
-
You can use an INDEX/COLLECT combo.
=INDEX(COLLECT({Range To Pull}, {1st Criteria Range}, 1st criteria, {2nd Criteria Range}, 2nd criteria), 1)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Answers
-
-
You can use an INDEX/COLLECT combo.
=INDEX(COLLECT({Range To Pull}, {1st Criteria Range}, 1st criteria, {2nd Criteria Range}, 2nd criteria), 1)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
I thank @Leibel S & @Paul Newcome
The solution almost work, but unable to pull data from cross reference sheets. See fields between {}
All fields are Contact list type with true data.
=IFERROR(INDEX(COLLECT({Person 3}, {CAUSER}, [Department Defect Occurred]@row, {WC}, [Work Center Occurred]@row), 1)
Result: #INVALID VALUE
-
That is basically saying there are no rows that meet your range/criteria sets.
What do you get when you use
=COUNTIFS({CAUSER}, [Department Defect Occurred]@row, {WC}, [Work Center Occurred]@row)
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Finally it worked. Page needed some time to refresh 100's of cross referenced links and it showed that error.
Once I ran the COINFIFS too, result was = 1 which is exactly the correct result.
Your support is very much appreciated.
Thanks
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.9K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!