2Ruff4U
New Member
- Joined
- May 27, 2004
- Messages
- 31
- Office Version
- 365
- Platform
- Windows
Hello,
I track a large number of card ranges. These ranges are not sequential from one to the next and may not have the same number of digits in them. When I add a new range, I need to be sure that the new range does not have any values in it that overlaps any of the existing ranges. I would greatly appreciate thoughts on how to do this. Sample data below, a "Valid Range" simply means that the numbers in the range are unique to any other range:
Begin # End # Valid Range?
47006900006 47007220248
47007220255 47007430243
48000100503 48000239999
48001180601 48001280601
48000625507 48000770507
296578100001 296578200000
47000000001 47000099999
New Range Start # New Range End # Error Check
Are any numbers in the new range within any of the existing ranges?
I track a large number of card ranges. These ranges are not sequential from one to the next and may not have the same number of digits in them. When I add a new range, I need to be sure that the new range does not have any values in it that overlaps any of the existing ranges. I would greatly appreciate thoughts on how to do this. Sample data below, a "Valid Range" simply means that the numbers in the range are unique to any other range:
Begin # End # Valid Range?
47006900006 47007220248
47007220255 47007430243
48000100503 48000239999
48001180601 48001280601
48000625507 48000770507
296578100001 296578200000
47000000001 47000099999
New Range Start # New Range End # Error Check
Are any numbers in the new range within any of the existing ranges?