RetiredWizard
New Member
- Joined
- Feb 12, 2019
- Messages
- 2
Hello,
First post, so I appreciate any help. I am trying to build a formula that will lookup a value and date and return the specific value in the row where the date is within that specific range.
For instance, the formula should lookup the "Key" and "Date Due" from Table 2, and return the appropriate "R Number" where the "Date Due" falls within the given date ranges in Table 1.
Table 1
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Key[/TD]
[TD]Range Start[/TD]
[TD]Range End[/TD]
[TD]R Number[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]2/4/2019[/TD]
[TD]2/10/2019[/TD]
[TD]TL456U[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]2/11/2019[/TD]
[TD]2/17/2019[/TD]
[TD]HU756P[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]2/18/2019[/TD]
[TD]2/24/2019[/TD]
[TD]MW734Q[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Key[/TD]
[TD]ID Ship[/TD]
[TD]Date Due[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]123[/TD]
[TD]2/12/2019[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]124[/TD]
[TD]2/22/2019[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]125[/TD]
[TD]2/7/2019[/TD]
[/TR]
</tbody>[/TABLE]
First post, so I appreciate any help. I am trying to build a formula that will lookup a value and date and return the specific value in the row where the date is within that specific range.
For instance, the formula should lookup the "Key" and "Date Due" from Table 2, and return the appropriate "R Number" where the "Date Due" falls within the given date ranges in Table 1.
Table 1
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Key[/TD]
[TD]Range Start[/TD]
[TD]Range End[/TD]
[TD]R Number[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]2/4/2019[/TD]
[TD]2/10/2019[/TD]
[TD]TL456U[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]2/11/2019[/TD]
[TD]2/17/2019[/TD]
[TD]HU756P[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]2/18/2019[/TD]
[TD]2/24/2019[/TD]
[TD]MW734Q[/TD]
[/TR]
</tbody>[/TABLE]
Table 2
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Key[/TD]
[TD]ID Ship[/TD]
[TD]Date Due[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]123[/TD]
[TD]2/12/2019[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]124[/TD]
[TD]2/22/2019[/TD]
[/TR]
[TR]
[TD]1741002CP2334[/TD]
[TD]125[/TD]
[TD]2/7/2019[/TD]
[/TR]
</tbody>[/TABLE]