kmprice710
Board Regular
- Joined
- Jan 8, 2014
- Messages
- 87
- Office Version
- 2019
- Platform
- Windows
I have a bunch of clients on a list with the year they purchased the product:
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID
[/TD]
[TD]Year
[/TD]
[TD]Client
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2005
[/TD]
[TD]?
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]2004
[/TD]
[TD]?
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]2002
[/TD]
[TD]?
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2006
[/TD]
[TD]?
[/TD]
[/TR]
</tbody>[/TABLE]
I have a list of ID codes with year ranges:
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID
[/TD]
[TD]From
[/TD]
[TD]To
[/TD]
[TD]Client
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2001
[/TD]
[TD]2002
[/TD]
[TD]Barry
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2003
[/TD]
[TD]2004
[/TD]
[TD]Barry-Elwood
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2005
[/TD]
[TD]2006
[/TD]
[TD]Barry-Yearling
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]2001
[/TD]
[TD]2002
[/TD]
[TD]Todd
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]2003
[/TD]
[TD]2004
[/TD]
[TD]Todd-Young
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]2001
[/TD]
[TD]2002
[/TD]
[TD]Smith
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]2003
[/TD]
[TD]2004
[/TD]
[TD]Smith-Armour
[/TD]
[/TR]
</tbody>[/TABLE]
How do I write a formula to output the client names given the ID code and year ranges?
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID
[/TD]
[TD]Year
[/TD]
[TD]Client
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2005
[/TD]
[TD]?
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]2004
[/TD]
[TD]?
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]2002
[/TD]
[TD]?
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2006
[/TD]
[TD]?
[/TD]
[/TR]
</tbody>[/TABLE]
I have a list of ID codes with year ranges:
[TABLE="width: 500"]
<tbody>[TR]
[TD]ID
[/TD]
[TD]From
[/TD]
[TD]To
[/TD]
[TD]Client
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2001
[/TD]
[TD]2002
[/TD]
[TD]Barry
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2003
[/TD]
[TD]2004
[/TD]
[TD]Barry-Elwood
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]2005
[/TD]
[TD]2006
[/TD]
[TD]Barry-Yearling
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]2001
[/TD]
[TD]2002
[/TD]
[TD]Todd
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]2003
[/TD]
[TD]2004
[/TD]
[TD]Todd-Young
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]2001
[/TD]
[TD]2002
[/TD]
[TD]Smith
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]2003
[/TD]
[TD]2004
[/TD]
[TD]Smith-Armour
[/TD]
[/TR]
</tbody>[/TABLE]
How do I write a formula to output the client names given the ID code and year ranges?