+ Reply to Thread
Results 1 to 6 of 6

Extract all text after an alphanumerical letter

  1. #1
    Registered User
    Join Date
    11-04-2009
    Location
    Sweden
    MS-Off Ver
    Excel 2003
    Posts
    2

    Extract all text after an alphanumerical letter

    Hi,

    ok lets say we have an address in a cell, like

    Teststreet 22 B, Testtown

    What i want is to get the all text after the first "2" - 22 B, Testtown

    I'm stuck at the moment....

  2. #2
    Forum Contributor mewingkitty's Avatar
    Join Date
    09-29-2008
    Location
    Fort McMurray, Alberta, Canada
    MS-Off Ver
    Excel 2003
    Posts
    949

    Re: Extract all text after an alphanumerical letter

    See if the attached workbook helps
    If you have any questions about the formula used, just ask!

    mew!
    Attached Files Attached Files
    =IF(AND(OR(BLONDE,BRUNETTE,REDHEAD),OR(MY PLACE,HER PLACE),ME),BOW-CHICKA-BOW-WOW,ANOTHER NIGHT ON THE INTERNET)

  3. #3
    Registered User
    Join Date
    11-04-2009
    Location
    Sweden
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Extract all text after an alphanumerical letter

    thanks for your reply

    it dosn't quite work for me, the "2" was only an exemple


    adsfdsf 2345f fdsgfsda --> 245f fsfdsgfsda
    adds21 fdsdd 3 --> 21 fdsdd 3
    dff11 d --> 11 d

    what i want to extract is any text after the first alphanumerical letter, which can be anything between 0-9.

  4. #4
    Forum Contributor
    Join Date
    02-19-2005
    Location
    Gurgaon,India
    MS-Off Ver
    2007,2010,2013
    Posts
    180

    Re: Extract all text after an alphanumerical letter

    Hi,

    =REPLACE(A1,1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&1234567890))-1,"")

    HTH
    Kris

  5. #5
    Forum Contributor Bob@Sun's Avatar
    Join Date
    09-03-2009
    Location
    Montuak, Usa
    MS-Off Ver
    Excel 2007
    Posts
    438

    Re: Extract all text after an alphanumerical letter

    The formula =right(A1,n), where n is any number, extracts n characters starting right to left. This formula is useful if you need to extract fixed number of charactes from column A, as you can drag the formula, but is not tha useful if in every row you need to extract different number of characters. Anyways, see if you can use this somehow
    Alsa, it works with =left(a1,n)

  6. #6
    Registered User
    Join Date
    01-17-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    67

    Re: Extract all text after an alphanumerical letter

    This code works for any single cell

    Please Login or Register  to view this content.
    And I think you can extrapolate for any given range. Hope that helps,
    Attached Files Attached Files
    Last edited by agentred; 11-04-2009 at 11:40 AM.

+ 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