Hello,
I'm looking to see if I can convert a complex formula that I got from @Peter_SSs in this thread:
I was looking into VBA's WorksheetFunction's but LET isn't listed.
This led me to look at one of the other three formulas in that thread. @Phuoc uses just the AGGREGATE function, but after testing it again, I realized it's not finding the first missing number.
So, perhaps there's a way to still use the one provided by Peter?
Or perhaps there's another way to achieve the same results using VBA?
Thank you,
I'm looking to see if I can convert a complex formula that I got from @Peter_SSs in this thread:
Find First Missing Number > 990000
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...
www.mrexcel.com
I was looking into VBA's WorksheetFunction's but LET isn't listed.
This led me to look at one of the other three formulas in that thread. @Phuoc uses just the AGGREGATE function, but after testing it again, I realized it's not finding the first missing number.
So, perhaps there's a way to still use the one provided by Peter?
Excel Formula:
=LET(s,SEQUENCE(1000,,990001),AGGREGATE(15,6,s/ISNA(MATCH(s,B4:B14,0)),1))
Or perhaps there's another way to achieve the same results using VBA?
Thank you,