Hello everyone,
I've been playing around with a few options that allow people to find missing numbers within a range of numbers.
One example is this one:
=SMALL(IF(ISNA(MATCH(ROW(A$1:A$30),A$1:A$30,0)),ROW(A$1:A$30)),ROW(A1))
The example above requires all values to be returned in a different column. I'm really just trying to get ONE number (the first/smallest missing number) … and only IF the number is greater than 990000.
I tried playing around with IF and MIN with the above formula, but no luck.
Brief details about my data:
I have two number ranges in my column I want to check against.
If I purge a Non-Testable book, then I would like to reuse that number that's no longer in use. However, I do not always reuse it right away. Could be days or even weeks later.
Currently, I'm just using the MAX function +1 to show me what my Next Available Number is to use. However, if I can find the first (MIN) missing number greater than 990000, I think that would be optimal.
All the examples I've seen so far show a list of missing numbers. I'm hoping to get just that one number in a single cell if possible.
Any help or additional ideas would be greatly appreciated.
In the example below, I'm using a small sample of values for the number range I'm looking to find the first missing number in.
I've been playing around with a few options that allow people to find missing numbers within a range of numbers.
One example is this one:
=SMALL(IF(ISNA(MATCH(ROW(A$1:A$30),A$1:A$30,0)),ROW(A$1:A$30)),ROW(A1))
The example above requires all values to be returned in a different column. I'm really just trying to get ONE number (the first/smallest missing number) … and only IF the number is greater than 990000.
I tried playing around with IF and MIN with the above formula, but no luck.
Brief details about my data:
I have two number ranges in my column I want to check against.
- Testable books (#'s <990000)
- Non-Testable Books (#'s >990000)
- The Testable Books have assigned Quiz numbers that are not changeable.
- The Non-Testable Books use my number range which starts at 990,000 as they do not conflict with the testable books range.
If I purge a Non-Testable book, then I would like to reuse that number that's no longer in use. However, I do not always reuse it right away. Could be days or even weeks later.
Currently, I'm just using the MAX function +1 to show me what my Next Available Number is to use. However, if I can find the first (MIN) missing number greater than 990000, I think that would be optimal.
All the examples I've seen so far show a list of missing numbers. I'm hoping to get just that one number in a single cell if possible.
Any help or additional ideas would be greatly appreciated.
In the example below, I'm using a small sample of values for the number range I'm looking to find the first missing number in.