I want to compare and identify if a date is between dates in a separate table.
Start End Project Employee
1-Jan-13 31-Dec-13 10 2
1-Jan-14 31-Dec-14 10 2
1-Jan-15 31-Dec-15 12 2
1-Jan-16 31-Dec-16 12 2
1-Jan-17 31-Dec-17 14 2
1-Jan-16 31-Dec-16 10 5
1-Jan-17 31-Dec-17 20 5
I am looking for the project id that employee was comparing the date with the date period available in the second table for the same employee.
Employee Date projectid
2 1-Jul-16 ?
2 1-Dec-16 ?
2 1-May-17 ?
5 1-Jul-16 ?
5 1-Dec-16 ?
Please help. I tried LOOKUP formula but couldnt control the cell range dynamically. =LOOKUP(Date,start:end,project:project)
