+ Reply to Thread
Results 1 to 5 of 5

extract letters from an alphanumeric string excel

  1. #1
    Registered User
    Join Date
    05-08-2010
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    5

    extract letters from an alphanumeric string excel

    Dear All

    I have a data list which is alphanumeric and includes charcters. I would like to extract all the letters in the string. I have tried to search for a solution but i cannot find one that suits my needs.

    Appreciate your help.
    Thanks
    Bye
    Noel
    Attached Files Attached Files

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: extract letters from an alphanumeric string excel

    Try this UDF
    Please Login or Register  to view this content.
    In B2
    Please Login or Register  to view this content.
    Drag/Fill Down
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  3. #3
    Registered User
    Join Date
    05-08-2010
    Location
    Malta
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: extract letters from an alphanumeric string excel

    Dear Marcol

    I got a #NAME? error

    I don't know anything about VBA, but I copied and pasted your instrcuctions

    Rgds
    Noel

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: extract letters from an alphanumeric string excel

    To use this
    1/. In Excel press Alt+f11 this will open the VBa editor.

    2/. Select the "Insert" tab > Module

    3/. Paste all of the given code in the resultant pane/window.

    4/. Save the file and close the VBa editor

    See this workbook
    Attached Files Attached Files

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

    Re: extract letters from an alphanumeric string excel

    G.P.S/ 12.D 235T GPS12DT ?????? why the 12 in that example?
    "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)

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