Good morning,
I am getting close but so far away from this. I have about 60,000 emails to go through and extract a service order number so I can cross reference if it exists in a database. Here is what I am looking at for the cells A1 - A11:
The formula I am using to extract the 7 digit number is below:
=LOOKUP(9.9E+307,1*LEFT(MID(A13,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A13&"0123456789")),999),ROW($1:$999)))
Here are the results I get from the extraction formula that resides in B1 - B11:
For the most part it works but there are some that end up like the third result. The issue is, I would like it to be able to find 6 or 7 consecutive digits in a row (some earlier service orders are 6 digit). Am I on the right track?
I appreciate any help you can offer.
Best regards,
D
Bookmarks