+ Reply to Thread
Results 1 to 4 of 4

Formula to separate number from text

  1. #1
    Forum Contributor
    Join Date
    03-22-2012
    Location
    Narragansett, Rhode Island
    MS-Off Ver
    Excel 2007
    Posts
    122

    Formula to separate number from text

    Hi

    I am working with long columns of information that contains both numbers and text. An example is as follows: 00400NEW CAP REL COSTS-MVBLE EQUIP. I would like to separate the number 00400 from the remainder of the statement, ending up with 1 column of numbers and 1 column of text. I have attached a worksheet for your reference.

    Thanks in advance for reading/commenting on this question.

    Al Charbonneau
    Attached Files Attached Files

  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: Formula to separate number from text

    if al the numbers are same length just use text to columns fixed width from the data tab
    "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
    Forum Contributor
    Join Date
    03-22-2012
    Location
    Narragansett, Rhode Island
    MS-Off Ver
    Excel 2007
    Posts
    122

    Re: Formula to separate number from text

    Thanks for replying so quickly. When I used text to columns the whole string moved. I must be doing something wrong.

    Any advice?

    Thanks

    Al

  4. #4
    Forum Contributor
    Join Date
    03-22-2012
    Location
    Narragansett, Rhode Island
    MS-Off Ver
    Excel 2007
    Posts
    122

    Re: Formula to separate number from text

    Got it to work after trying a couple of times. Good solution.

    Thanks

+ 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