dbcooper88
New Member
- Joined
- Dec 3, 2016
- Messages
- 36
Hello all. Im looking for the closest match for a data set. Here is the data:
[TABLE="width: 0"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]959.5
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]909
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]858.5
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]858.5
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]858.5
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]910
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]758.5
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]808
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]808
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]858.5
[/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]909
[/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]757.5
[/TD]
[/TR]
</tbody>[/TABLE]
How would you find the three consecutive closest match for the last three B's (858.5,909,757.5)? Answer should be 858.5,910,758 which correspond to A’s 5,6,7. TIA
[TABLE="width: 0"]
<tbody>[TR]
[TD]A
[/TD]
[TD]B
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]959.5
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]909
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD]858.5
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD]858.5
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD]858.5
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD]910
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD]758.5
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD]808
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD]808
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD]858.5
[/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD]909
[/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD]757.5
[/TD]
[/TR]
</tbody>[/TABLE]
How would you find the three consecutive closest match for the last three B's (858.5,909,757.5)? Answer should be 858.5,910,758 which correspond to A’s 5,6,7. TIA