I tried to search for this and was unable to find it. If someone knows of an existing thread, please link me to it as I don't wish to recreate the wheel.
I am trying to create a formula that takes the name in table 1 and looks it up in table 2. If it finds that name, it should look up the coinciding date in table 1 to determine if it is between the start and end date in table 2.
I have tried several nested if statements combined with vlookup, index match and such and not gotten anywhere.
I would appreciate any assistance. Once I figure the look up, I can combine it with my other formulas.
Table 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Date
[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]1/19/2018[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]2/20/2018[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]1/15/2018[/TD]
[/TR]
[TR]
[TD]Gus[/TD]
[TD]1/12/2018[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]1/1/2018[/TD]
[TD]2/1/2018[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]12/1/2017[/TD]
[TD]3/20/2018[/TD]
[/TR]
[TR]
[TD]Shirly[/TD]
[TD]1/1/2018[/TD]
[TD]1/15/2018[/TD]
[/TR]
[TR]
[TD]Suzy[/TD]
[TD]2/1/2018[/TD]
[TD]2/25/2018[/TD]
[/TR]
</tbody>[/TABLE]
I am trying to create a formula that takes the name in table 1 and looks it up in table 2. If it finds that name, it should look up the coinciding date in table 1 to determine if it is between the start and end date in table 2.
I have tried several nested if statements combined with vlookup, index match and such and not gotten anywhere.
I would appreciate any assistance. Once I figure the look up, I can combine it with my other formulas.
Table 1
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Date
[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]1/19/2018[/TD]
[/TR]
[TR]
[TD]Bill[/TD]
[TD]2/20/2018[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]1/15/2018[/TD]
[/TR]
[TR]
[TD]Gus[/TD]
[TD]1/12/2018[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="width: 500"]
<tbody>[TR]
[TD]Name[/TD]
[TD]Start[/TD]
[TD]End[/TD]
[/TR]
[TR]
[TD]Bob[/TD]
[TD]1/1/2018[/TD]
[TD]2/1/2018[/TD]
[/TR]
[TR]
[TD]Fred[/TD]
[TD]12/1/2017[/TD]
[TD]3/20/2018[/TD]
[/TR]
[TR]
[TD]Shirly[/TD]
[TD]1/1/2018[/TD]
[TD]1/15/2018[/TD]
[/TR]
[TR]
[TD]Suzy[/TD]
[TD]2/1/2018[/TD]
[TD]2/25/2018[/TD]
[/TR]
</tbody>[/TABLE]