+ Reply to Thread
Results 1 to 6 of 6

Extract numbers from cell

  1. #1
    Registered User
    Join Date
    06-29-2011
    Location
    Hoffman
    MS-Off Ver
    Excel 2003
    Posts
    2

    Extract numbers from cell

    In column "b" there are two sets of 5 or 6 number within a long character string. I need to extract the set 5 or 6 digit set of numbers that is "not like" the set in column "a". If there is any help, that would be greatly appreciated.

    "a"
    attx91136
    "b"
    Air hose separation between the attx91136 and vttx97538. LS

    I need a formula that would extract the set of number not like column a, in this case it would be vttx97538.

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

    Re: Extract numbers from cell

    i think we need some more examples preferably in a sample workbook
    "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

  3. #3
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: Extract numbers from cell

    Hi kingsgambit107

    The example file is enclosed for your required formula. you could also make nested formual by combining forumula in column E & F into column C.


    i am also expectiong a more better solution from the excel experts of this forum.
    Attached Files Attached Files

  4. #4
    Valued Forum Contributor
    Join Date
    05-23-2011
    Location
    Lahore PK
    MS-Off Ver
    Excel 2007, 2013
    Posts
    627

    Re: Extract numbers from cell

    There was an error in the previous file. Kindly take the file enclosed with this reply
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    06-29-2011
    Location
    Hoffman
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Extract numbers from cell

    Quote Originally Posted by Azam Ali View Post
    There was an error in the previous file. Kindly take the file enclosed with this reply
    Thanks Azam! I attached the spreadsheet. I need the set of numeric values that is in column "k" that is NOT in column "a". This is a great help as I have to do several of these daily. If there is not a second set of numerical values in column "k", then it does not have to be segregated.
    Last edited by kingsgambit107; 07-19-2011 at 09:11 PM.

  6. #6
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,099

    Re: Extract numbers from cell

    Chech this...

    However, in K column you need to write EXACTLY as in A column.

    For example, in last row, you can not have blanks among desired word:


    CREW FOUND AIR HOSE CAME APART BETWEEN CARS TTZX 86377, AND TTZX857425. CREW GOT THE AIR HOSE RECONNECTED AND AIR IS NOW RECOVERED. 0739CST-PMR/OMA
    Attached Files Attached Files
    Never use Merged Cells in Excel

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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