Maybe one of these? They extract contiguous numbers from text.:
For a value in A1
This one returns n/a if no numbers exist in the string:
B1:
=LOOKUP(10^99,--MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),ROW(INDEX(A:A,1):INDEX(A:A,LEN(A1)))))
or
This one returns zero if no numbers exist in the string:
B1:
=LOOKUP(10^99,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),ROW($1:$10000))))
Note_1: in case of text wrap, there are no spaces in either of those formulas.
Note_2: If the largest value you anticipate encountering is greater than
10^99, then use this instead: 9.99999999999999E+307
Is that something you can work with?
***********
Regards,
Ron
XL2002, WinXP