I've been searching all morning for a solution and although I think an Index Match is the answer I'm getting stuck with the formula and how best to apply it.
I have two tables one table is a job summary table that has a JobID with an employee name and a start/end date.
The second table is a list of jobs were an employee was, and I'm trying to have the Job ID added to that table.
The formula should return the jobID for where the Job date is between the start/end date and for that employee name.
For example for the first row in Table two, the JobID should be job9897 because jane worked on that project on Jan 1.
First is Index/Match the best option, and if so, how would I develop the formula?
Table 1
Table 2
I have two tables one table is a job summary table that has a JobID with an employee name and a start/end date.
The second table is a list of jobs were an employee was, and I'm trying to have the Job ID added to that table.
The formula should return the jobID for where the Job date is between the start/end date and for that employee name.
For example for the first row in Table two, the JobID should be job9897 because jane worked on that project on Jan 1.
First is Index/Match the best option, and if so, how would I develop the formula?
Table 1
JobID | EmployeeName | Start Date | End Date |
job9897 | Jane | 1-Jan-19 | 21-Jan-19 |
job4934 | Jane | 31-Jan-19 | 18-Feb-19 |
job3813 | Mike | 1-Mar-19 | 1-Apr-19 |
job7075 | Mike | 12-Apr-19 | 30-Apr-19 |
job6153 | Josh | 1-Jan-19 | 19-Jan-19 |
job4076 | Josh | 1-Apr-19 | 29-Apr-19 |
Table 2
JobID | Vessel Name | Job Date |
Jane | 1-Jan-19 | |
Jane | 3-Jan-19 | |
Jane | 4-Jan-19 | |
Jane | 5-Jan-19 | |
Jane | 1-Feb-19 | |
Jane | 4-Feb-19 | |
Jane | 5-Feb-19 | |
Jane | 6-Feb-19 | |
Jane | 1-Mar-19 | |
Jane | 2-Mar-19 | |
Mike | 2-Mar-19 | |
Mike | 3-Mar-19 | |
Mike | 4-Mar-19 | |
Mike | 5-Mar-19 | |
Mike | 29-Apr-19 | |
Mike | 30-Apr-19 | |
Mike | 1-May-19 | |
Mike | 2-May-19 | |
Josh | 6-Jan-19 | |
Josh | 7-Jan-19 | |
Josh | 8-Jan-19 | |
Josh | 9-Jan-19 | |
Josh | 10-Jan-19 |