+ Reply to Thread
Results 1 to 5 of 5

Mass Delete each Letter in front of number in each row.

  1. #1
    Registered User
    Join Date
    04-28-2006
    Posts
    51

    Mass Delete each Letter in front of number in each row.

    Hi,

    I'd like to delete each letter in front of the number in each row in multiple rows in one column.

    Example:

    S3
    D4
    C17
    D5
    G6
    R55

    Just want to mass delete all the letters so it shows up like this:

    3
    4
    17
    5
    6
    55


    Thanks!

    Dino

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    In a helper column (insert if needed) use this formula, copied down your entire range:

    =RIGHT(A1,LEN(A1)-1)

    This will return you desired results. If you want to then delete your original data, first select your entire helper row, then Copy, Paste Special...Values
    Finally, delete your original data.

    HTH

    Bruce
    Bruce
    The older I get, the better I used to be.
    USA

  3. #3
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by Dno
    Hi,

    I'd like to delete each letter in front of the number in each row in multiple rows in one column.

    Example:

    S3
    D4
    C17
    D5
    G6
    R55

    Just want to mass delete all the letters so it shows up like this:

    3
    4
    17
    5
    6
    55


    Thanks!

    Dino
    assuming that you have only a single character at the begining and you data is in col A starting from cell A1 then put in B1
    =MID(A1,2,50) and copy this function down in col B.

    Regards.

  4. #4
    Forum Contributor kraljb's Avatar
    Join Date
    05-26-2004
    Location
    Illinois
    MS-Off Ver
    2007 (recent change)
    Posts
    256
    If you have more than one alpha charachter in front you may want to try this array formula...

    =MID(A1,MATCH(FALSE,ISERROR(MID(A1,ROW(INDIRECT("1:"&LEN(A1))),1)*1),0),LEN(A1))

    Remember to enter this with Shift-Alt-Enter

    Also, this will not remove numeric values behind the numbers.

    Hope that helps,
    John

  5. #5
    Registered User
    Join Date
    04-28-2006
    Posts
    51
    Hey thanks alot

+ 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