+ Reply to Thread
Results 1 to 6 of 6

Removing Non-Numeric Characters

  1. #1
    Registered User
    Join Date
    10-12-2005
    Posts
    3

    Removing Non-Numeric Characters

    I have a list of numbers which contain both numbers & text characters. (Eg: 123/456/7).

    I need to match this list to another one which contains only numbers. (Eg: 1234567).

    Is there a formula I can use which allows me to extract only numerical characters from a cell.

    Many Thanks

    Glen

  2. #2
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by GlenS
    I have a list of numbers which contain both numbers & text characters. (Eg: 123/456/7).

    I need to match this list to another one which contains only numbers. (Eg: 1234567).

    Is there a formula I can use which allows me to extract only numerical characters from a cell.

    Many Thanks

    Glen
    Hi Glen

    Try Edit and Replace
    Paul

  3. #3
    Registered User
    Join Date
    10-12-2005
    Posts
    3
    Find & Replace works for most of the characters except for a character which appear at the front of some of the numbers (EG: '354859). I've tried copying & pasting this character into the Find & Replace but it doesn't work.

    I think it's something that's been entered to force Excel to start numbers with a 0.

    Glen

  4. #4
    Valued Forum Contributor
    Join Date
    06-30-2005
    Location
    Verwood, Dorset, England
    MS-Off Ver
    Excel 2000
    Posts
    479
    Quote Originally Posted by GlenS
    Find & Replace works for most of the characters except for a character which appear at the front of some of the numbers (EG: '354859). I've tried copying & pasting this character into the Find & Replace but it doesn't work.

    I think it's something that's been entered to force Excel to start numbers with a 0.

    Glen
    Hi Glen

    The ' allows numbers to be enterred with leading zeros

    To get rid of this in the next available column use this formula > =TRIM(A1), change the reference to suit, drag this down to the bottom of the row, the copy paste special values over the column with the formulae

  5. #5
    Registered User
    Join Date
    10-12-2005
    Posts
    3
    Thanks again - worked fine.

    Glen

  6. #6
    Stefi
    Guest

    RE: Removing Non-Numeric Characters

    Use
    =SUBSTITUTE(A1,"/","")
    instead of A1 if A1 contains 123/456/7

    Stefi

    "GlenS" wrote:

    >
    > I have a list of numbers which contain both numbers & text characters.
    > (Eg: 123/456/7).
    >
    > I need to match this list to another one which contains only numbers.
    > (Eg: 1234567).
    >
    > Is there a formula I can use which allows me to extract only numerical
    > characters from a cell.
    >
    > Many Thanks
    >
    > Glen
    >
    >
    > --
    > GlenS
    > ------------------------------------------------------------------------
    > GlenS's Profile: http://www.excelforum.com/member.php...o&userid=28028
    > View this thread: http://www.excelforum.com/showthread...hreadid=475327
    >
    >


+ 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