Look up values from 2 columns

Estee28

New Member
Joined
Aug 10, 2017
Messages
6
Hello, I am attempting to look up only the sales team names from 2 columns of employee names. I will be using a list of Sales Team employee ID numbers as the look up value to identify the sales team. In column 1 is the first and last name separated by a space. In column 2 there are multiple employee names in each cell separated by a comma. In column 3 there is a list of employee ID numbers for the sales team, this list has multiple numbers in each column separated by a comma. I want to return all sales team names, whether it is one name or multiple separated by a comma from column 1 & 2. Please see example below.

I attempted to use a match index function but I can't seem to apply the index to 2 columns. The look up value I also with in a line of text separated by commas. Any help would be much appreciated. Please let me know if not clear.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
You could do something like using 2 lookups & joining it with an ampersand

Example
Code:
=VLOOKUP(F10,I4:J4,2,FALSE)&" "&VLOOKUP(F10,I4:K4,3)
 
Upvote 0

Forum statistics

Threads
1,224,744
Messages
6,180,696
Members
452,994
Latest member
Janick

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top