+ Reply to Thread
Results 1 to 4 of 4

Need Formula/Help for separating numbers from random text cells

Hybrid View

  1. #1
    Registered User
    Join Date
    07-07-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    5

    Need Formula/Help for separating numbers from random text cells

    Data.jpg


    Hi there

    As seen in the attached file, I need to seperate the numbers from text in one go, because this is just an example and i need to seperate numbers from a lot of cells.

    I have tried text to coulnms and =right, =left and = substitue formulas... But these does not works because of unique nature of the data, as number in each cell is placed randomly and there are no spaces or common factor between number and text.

    Please i need your assistance.
    Last edited by gaminguy; 07-07-2012 at 10:47 AM. Reason: Title Change

  2. #2
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Need Formula/Help for a Challenging Situation

    Use

    =LOOKUP(99^99,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),ROW($1:$10000))))

    Courtesy: oldchippy
    http://www.excelforum.com/excel-work...ic-string.html
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  3. #3
    Registered User
    Join Date
    07-07-2012
    Location
    Saudi Arabia
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Need Formula/Help for a Challenging Situation

    Quote Originally Posted by ace_xl View Post
    use

    =lookup(99^99,--("0"&mid(a1,min(search({0,1,2,3,4,5,6,7,8,9},a1&"0123456789")),row($1:$10000))))

    courtesy: Oldchippy
    http://www.excelforum.com/excel-work...ic-string.html
    oh boy its too difficult to understand, isn't there any easy way to do this?

  4. #4
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Need Formula/Help for a Challenging Situation

    i think that's ok
    Attached Images Attached Images
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1