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
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!