This questions wasn't originally posted looking for a VBA solution, but I have one for you if you can't find a formula solution that fits your needs.
Insert a module in your workbook and paste the following code.
Then you can use the formula in cell B13 as follows:
The first section of this custom function is where you put the job code you're looking to match.
The second section is the entire range with the NAMES IN THE FIRST SELECTED ROW.
The third section shows which matching employee you want returned (put a 1 and it will return the first matching employee, put a 2 and it will return the second matching employee, etc....)
I hope you find a solution that doesn't require a custom function, but you've got this as a backup at least!
Bookmarks