INDEX(MATCH)?
I have two sheets. I would like to do a formula similar to index/match but I would like to pull in multiple strings. The index formula is =INDEX({Asset-DeviceSheet}, MATCH([Employee ID]@row, {eNumber-HPLStaffAssignedDevices}, 0), 0)
Answers
-
@chenice.howard81116 Can you explain what you mean by "pull in multiple strings"? Do you mean you want to concatenate several columns from a source sheet into a single column in a target sheet?
Otherwise, that first range {Asset-DeviceSheet} can be several columns wide. The last digit - the last zero in your case - indicates which column from that range to place into the target column. So if you copy that formula into several columns and change that column-value you can reference several columns.
dm
-
I'm interested in this thread as I'm trying to learn more about INDEX and MATCH and how/why I would use them over my comfortable VLOOKUP function. Are you @chenice.howard81116 trying to return device counts or unique device IDs for the Employee ID in each row?
-
Hi,
I was able to figure out the formula. I was trying to return the devices assigned to all staff members based on their employee id #. Sheet A is the onboarding sheet. Sheet B is the technology master sheet. Sheet B is the device assignment sheet. Information from Sheet A and C are referenced in Sheet B. I've used the following formula in SheetB:
=JOIN(COLLECT({dev@SheetC}, {enumb@SheetC}, =[Employee ID]@row), ", ")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 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!