• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Extracting Numbers from a huge list of alphabets

Komalkkk

New Member
Hi there,

In each cell of my excel sheet, I have a huge list of alphabets and buried in there is a number. It can be really anywhere in the text, with neither a fixed position nor length. I spent an entire afternoon trying to figure out how to extract it, the closest I got was extracting a number (used a formula from a previous thread at this forum), but without any decimal point consideration. (Most of these numbers are not integers). Attached here is an example. Please help!

Thank you! Your time is appreciated.
 

Attachments

Try……

=LOOKUP(1E+307,--MID(SUBSTITUTE(A1,".",),MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&1/17)),ROW($1:$15)))

Regards
I think OP wants it with decimal so SUBSTITUTE portion could be dropped.
=LOOKUP(1E+307,--MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&1/17)),ROW($1:$15)))
Where did you find 1/17 :):)?
 
I think OP wants it with decimal so SUBSTITUTE portion could be dropped.
=LOOKUP(1E+307,--MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&1/17)),ROW($1:$15)))
Where did you find 1/17 :):)?
Thank you! This worked like a charm. Though, after about 7 rows, it starts throwing N/A. Any suggestions. Thanks again.
 
I think OP wants it with decimal so SUBSTITUTE portion could be dropped.
=LOOKUP(1E+307,--MID(A1,MIN(FIND({0,1,2,3,4,5,6,7,8,9},A1&1/17)),ROW($1:$15)))
Where did you find 1/17 :):)?
Never mind, got that taken care of, but realized there are some numbers which are preceded by a negative sign e.g. AAAA[-33.30]GYY. Any suggestion on how can I have the output with negative included? Thank you!
 
Back
Top