Trying to look up EmplId and Pay End Date in range below and return appropriate Job Title.
[TABLE="width: 347"]
<tbody>[TR]
[TD]Job Title
[/TD]
[TD]Emplid
[/TD]
[TD]Pay End Date
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]1/3/2009
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]6/6/2009
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]12/5/2009
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]6/18/2011
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]8/25/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]467
[/TD]
[TD]12/29/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]467
[/TD]
[TD]1/12/2013
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]467
[/TD]
[TD]4/6/2013
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]118
[/TD]
[TD]12/17/2011
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]118
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]118
[/TD]
[TD]1/14/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]118
[/TD]
[TD]2/23/2013
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]758
[/TD]
[TD]3/12/2011
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]758
[/TD]
[TD]1/14/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]758
[/TD]
[TD]12/1/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]758
[/TD]
[TD]11/16/2013
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 617"]
<tbody>[TR]
[TD]Empl_Id
[/TD]
[TD]Job_Title
[/TD]
[TD]Begin_Date
[/TD]
[TD]End_Date
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2009
[/TD]
[TD]12/31/2009
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2010
[/TD]
[TD]12/31/2010
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2011
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2012
[/TD]
[TD]12/31/2012
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2013
[/TD]
[TD]12/31/2013
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2010
[/TD]
[TD]12/31/2010
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2011
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2012
[/TD]
[TD]4/30/2012
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]AREA MANAGER
[/TD]
[TD]5/1/2012
[/TD]
[TD]12/31/2012
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]AREA MANAGER
[/TD]
[TD]1/1/2013
[/TD]
[TD]3/31/2013
[/TD]
[/TR]
[TR]
[TD]467
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2011
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD]467
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2012
[/TD]
[TD]12/31/2012
[/TD]
[/TR]
[TR]
[TD]467
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2013
[/TD]
[TD]3/31/2013
[/TD]
[/TR]
[TR]
[TD]467
[/TD]
[TD]CONVICT
[/TD]
[TD]4/1/2013
[/TD]
[TD]12/31/2013
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2010
[/TD]
[TD]12/31/2010
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2011
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]BROADCASTER
[/TD]
[TD]1/1/2012
[/TD]
[TD]2/29/2012
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]STATION OWNER
[/TD]
[TD]3/1/2012
[/TD]
[TD]12/31/2012
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]STATION OWNER
[/TD]
[TD]1/1/2013
[/TD]
[TD]12/31/2013
[/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated.
[TABLE="width: 347"]
<tbody>[TR]
[TD]Job Title
[/TD]
[TD]Emplid
[/TD]
[TD]Pay End Date
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]1/3/2009
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]6/6/2009
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]12/5/2009
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]6/18/2011
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]101
[/TD]
[TD]8/25/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]467
[/TD]
[TD]12/29/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]467
[/TD]
[TD]1/12/2013
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]467
[/TD]
[TD]4/6/2013
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]118
[/TD]
[TD]12/17/2011
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]118
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]118
[/TD]
[TD]1/14/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]118
[/TD]
[TD]2/23/2013
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]758
[/TD]
[TD]3/12/2011
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]758
[/TD]
[TD]1/14/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]758
[/TD]
[TD]12/1/2012
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]758
[/TD]
[TD]11/16/2013
[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="width: 617"]
<tbody>[TR]
[TD]Empl_Id
[/TD]
[TD]Job_Title
[/TD]
[TD]Begin_Date
[/TD]
[TD]End_Date
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2009
[/TD]
[TD]12/31/2009
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2010
[/TD]
[TD]12/31/2010
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2011
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2012
[/TD]
[TD]12/31/2012
[/TD]
[/TR]
[TR]
[TD]101
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2013
[/TD]
[TD]12/31/2013
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2010
[/TD]
[TD]12/31/2010
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2011
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2012
[/TD]
[TD]4/30/2012
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]AREA MANAGER
[/TD]
[TD]5/1/2012
[/TD]
[TD]12/31/2012
[/TD]
[/TR]
[TR]
[TD]118
[/TD]
[TD]AREA MANAGER
[/TD]
[TD]1/1/2013
[/TD]
[TD]3/31/2013
[/TD]
[/TR]
[TR]
[TD]467
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2011
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD]467
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2012
[/TD]
[TD]12/31/2012
[/TD]
[/TR]
[TR]
[TD]467
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2013
[/TD]
[TD]3/31/2013
[/TD]
[/TR]
[TR]
[TD]467
[/TD]
[TD]CONVICT
[/TD]
[TD]4/1/2013
[/TD]
[TD]12/31/2013
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2010
[/TD]
[TD]12/31/2010
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]BRANCH SALES MANAGER
[/TD]
[TD]1/1/2011
[/TD]
[TD]12/31/2011
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]BROADCASTER
[/TD]
[TD]1/1/2012
[/TD]
[TD]2/29/2012
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]STATION OWNER
[/TD]
[TD]3/1/2012
[/TD]
[TD]12/31/2012
[/TD]
[/TR]
[TR]
[TD]758
[/TD]
[TD]STATION OWNER
[/TD]
[TD]1/1/2013
[/TD]
[TD]12/31/2013
[/TD]
[/TR]
</tbody>[/TABLE]
Any help is appreciated.