I used to work a ton with these types of unique extraction array formulas, but am having some trouble remembering if I am even going about this the right way. The formula below is attempting to extract/index a unique value if its length is equal to 18 or 26 or 28.
This workbook is large, it has lots of formulas and vba code, I would like to not use Application.Calculation = xlCalculationManual in my code, and I am avoiding all Volatile formula functions.
the Array formula
This workbook is large, it has lots of formulas and vba code, I would like to not use Application.Calculation = xlCalculationManual in my code, and I am avoiding all Volatile formula functions.
the Array formula
Code:
=IF(ROWS($N$17:N17)>SUMPRODUCT(--(LEN($B$17:$B$26)=18),--(LEN($B$17:$B$26)=26),--(LEN($B$17:$B$26)=28)),"",INDEX($B$17:$B$26,SMALL(IF((LEN($B$17:$B$26)=18)*(LEN($B$17:$B$26)=26)*(LEN($B$17:$B$26)=28),ROW($B$17:$B$26)-ROW($B$17)+1),ROWS($N$17:N17))))