How do I copy numeric section of cell from alpha-numeric cell
Based on your samples:
=LOOKUP(1E100,--MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&"01234567 89")),ROW(INDIRECT("1:255"))))
Leading 0s will be stripped off.
0123ABC will return 123
--
Biff
Microsoft Excel MVP
"ACCAguy" wrote in message
...
Can anyone help with a formula to separate a field containing numbers and
letters into numbers per below? I only know how to use for eg =left(X,x)
but
that isn't helpful as different fields have different number of numeric
charcters.
123ABC - 123
1234DEF - 1234
12GH - 12
--
ACCAguy
--
ACCAguy
|