Hello,
I am trying to do a vlookup that pulls out the employee number from a field that contains the employee name and employee number, without the "()" delimiter. However, I am at a loss on what type of formula to use. Below is a sample of what I am trying to do. I need to populate Employee Number.
I am trying to do a vlookup that pulls out the employee number from a field that contains the employee name and employee number, without the "()" delimiter. However, I am at a loss on what type of formula to use. Below is a sample of what I am trying to do. I need to populate Employee Number.
Manager Lookup.xlsx | ||||
---|---|---|---|---|
A | B | |||
1 | Record | Employee Data | ||
2 | 1 | Jason Bourne (12345) | ||
3 | 2 | Tim Drake (54321) | ||
4 | 3 | Luke Skywalker (12131) | ||
5 | 4 | Darth Vader (54535) | ||
Sheet3 |
Manager Lookup.xlsx | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Record | Employee Name | Employee Number | ||
2 | 1 | Jason Bourne | |||
3 | 2 | Tim Drake | |||
4 | 3 | Luke Skywalker | |||
5 | 4 | Darth Vader | |||
Sheet2 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
B2:B5 | B2 | =IFERROR(LEFT(VLOOKUP(A2,Sheet3!A:B,2,FALSE),FIND("(",VLOOKUP(A2,Sheet3!A:B,2,FALSE))-1),"") |