I am used to Excel but am still pretty new to more complex formulas. I am trying to fill in the id field in the data table automatically based on the name.
I have two tables, one is a list of employees, and another is a log of associates' actions.
Here is the ID list.
A5 ID |
A6 Name |
---|---|
123 | Foo Bar |
321 | John Doe |
246 | Jane Doe |
135 | Mike Jones |
Here is the log list.
A1 ID |
A2 Name |
A3 Action |
---|---|---|
Jane Doe | xxxxx | |
John Doe | abcdefg | |
Jane Doe | zzzzz | |
Foo Bar | yyyyyyy |
I want to be able to take the current cell's index in the log and compare the name to the list of employees and copy the cell to the left of it to get the id.
Do you know of any formulas that would guide me to my goal?