How to pull data for a column from another sheet based on criteria from two columns?
I currently have two Smartsheets. One Smartsheet is a contact list based on location and department. The other sheet needs to be able to pull a contact from the contact list based on the location and department selected. The formula I tried that is not working is below.
=INDEX(COLLECT({CI Board Contact List Facilitator}, {CI Board Contact List Location}, Location@row, {CI Board Contact List HEAVY Department}, Department@row), 1)
Currently, this other formula , below , works for just one of the criteria (location), but I need something that will work for two criteria (location and department).
=INDEX({CI Board Contact List Facilitator}, MATCH(Location@row, {CI Board Contact List Location}, 0))
Answers
-
There may be a more efficient approach, but one approach is to have a helper column, LocationAndDept, in each sheet, and set it to
=Location@row + Department@row
. Perform your MATCH() on that column.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 367 Global Discussions
- 202 Industry Talk
- 432 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!