+ Reply to Thread
Results 1 to 10 of 10

How to remove numbers from a column but keep letters?

  1. #1
    Registered User
    Join Date
    09-11-2014
    Location
    new york
    MS-Off Ver
    2013
    Posts
    2

    Question How to remove numbers from a column but keep letters?

    I am trying to edit an excel sheet but cannot figure out how to delete all numbers in one column without going through and deleting each one. For example, one cell in the column looks like 87684-Emily. How would I delete 87684- and keep just emily? (I need to do this for an entire column). Any help would be greatly appreciated. Thanks!

  2. #2
    Forum Contributor
    Join Date
    01-29-2009
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    123

    Re: How to remove numbers from a column but keep letters?

    If all of them has dashes, try this on B1 and drag down, assuming your column with data is on column A.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-14-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    135

    Re: How to remove numbers from a column but keep letters?

    If it is always 5 number and a dash you can create a column next to that one and use =REPLACE(A1,1,6,"")

  4. #4
    Registered User
    Join Date
    09-11-2014
    Location
    new york
    MS-Off Ver
    2013
    Posts
    2

    Re: How to remove numbers from a column but keep letters?

    Quote Originally Posted by glennchung View Post
    If all of them has dashes, try this on B1 and drag down, assuming your column with data is on column A.

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Edit: I tried and it didn't work.

    Quote Originally Posted by Mr_Bill View Post
    If it is always 5 number and a dash you can create a column next to that one and use =REPLACE(A1,1,6,"")
    It is not always 5 numbers. It varies..
    Last edited by kairalynn; 09-11-2014 at 07:12 PM.

  5. #5
    Forum Contributor
    Join Date
    01-21-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    227

    Re: How to remove numbers from a column but keep letters?

    Quote Originally Posted by kairalynn View Post
    Edit: I tried and it didn't work.



    It is not always 5 numbers. It varies..
    =RIGHT(A1,FIND("-",A1)-1), that should work for sure, could you plz upload your sample file so better help could be provided?

  6. #6
    Forum Contributor
    Join Date
    08-14-2014
    Location
    US
    MS-Off Ver
    2013
    Posts
    135

    Re: How to remove numbers from a column but keep letters?

    This VBA will do it but its tad slow I am certain it can be edited to enhance performance.
    Please Login or Register  to view this content.
    Last edited by Mr_Bill; 09-11-2014 at 07:50 PM.

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: How to remove numbers from a column but keep letters?

    Please provide a few more samples of what your data looks like, so we dont have to guess
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to remove numbers from a column but keep letters?

    maybe this

    =REPLACE(A1,1,FIND("-",A1),"")
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  9. #9
    Forum Contributor
    Join Date
    01-29-2009
    Location
    US
    MS-Off Ver
    Excel 2010
    Posts
    123

    Re: How to remove numbers from a column but keep letters?

    Quote Originally Posted by AlKey View Post
    maybe this

    =REPLACE(A1,1,FIND("-",A1),"")
    This should work. The one in post #2 would not work because the FIND formula is returning a value counting from the left (instead of from the right) to find the dash. Good work, AlKey.

  10. #10
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: How to remove numbers from a column but keep letters?

    Deleted post
    Last edited by AlKey; 09-11-2014 at 08:49 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 1
    Last Post: 08-27-2014, 11:05 AM
  2. [SOLVED] remove front letters from numbers
    By cfinch100 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-21-2014, 05:13 PM
  3. Remove numbers, leave letters in a string
    By roxdrob in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-31-2014, 09:13 PM
  4. Replies: 9
    Last Post: 11-13-2012, 02:37 PM
  5. [SOLVED] How to remove letters and take the average of two numbers within a cell
    By adiaz755 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-20-2012, 01:22 PM

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