Quantcast
Channel: Active questions tagged worksheet-function - Super User
Viewing all articles
Browse latest Browse all 1009

Formula to return employee codes from a lookup table of names and codes

$
0
0

In Excel, I have five employees each with a unique emploee code.

In column A I have hundreds of rows of these employee names and I want to return each name's corresponding code in column B.

In columns D and E I have the unique list of employee names and their matching codes.

What formula could I use to return the codes in columnB?

Sample Data

ABCDE
1NameEmp codeAvailable data
2User101CodeNameCode
3User202CodeUser101Code
4user404CodeUser202Code
5user101Codeuser303Code
6user505Codeuser404Code
7user303Codeuser505Code
8user202Code

example


Viewing all articles
Browse latest Browse all 1009

Trending Articles