I have a table similar to below
<tbody>
</tbody>
I need to do a Vlookup to another table which has multiple lines of information about the IDs above, and I only want to return the line with info where the ID is matched and the Event Date falls between the Beginning Date and End Date in this other table as shown below:
<tbody>
</tbody>
So for in my example above, I would only want to retrieve the Information for the first line since the ID is matched and the Date falls within the range.
I assume I need a combination of Vlookup and If but not exactly sure how to proceed.
Event Date | ID | Vlookup Info |
2/13/2016 | A156 | X |
1/15/2013 | B498 |
<tbody>
</tbody>
I need to do a Vlookup to another table which has multiple lines of information about the IDs above, and I only want to return the line with info where the ID is matched and the Event Date falls between the Beginning Date and End Date in this other table as shown below:
ID | Beginning Date | End Date | Info |
A156 | 2/10/2016 | 2/14/2016 | X |
A156 | 1/1/2015 | 1/15/2015 | Y |
<tbody>
</tbody>
So for in my example above, I would only want to retrieve the Information for the first line since the ID is matched and the Date falls within the range.
I assume I need a combination of Vlookup and If but not exactly sure how to proceed.