+ Reply to Thread
Results 1 to 9 of 9

remove front letters from numbers

  1. #1
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    remove front letters from numbers

    hi
    in addition to earlier thread I have some cells with letters and numbers eg s123,st223,f12, how can I lose the leading letter or letters ,leaving just numbers,any ideas please
    cheers colin
    Attached Files Attached Files
    Last edited by cfinch100; 08-21-2014 at 05:13 PM.

  2. #2
    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,936

    Re: remove front letters from numbers

    Try this...
    =LOOKUP(99^99,--("0"&MID(A1,MIN(SEARCH({0,1,2,3,4,5,6,7,8,9},A1&"0123456789")),ROW($1:$10000)))) Courtesy of:*Ron Coderre
    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

  3. #3
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: remove front letters from numbers

    hi fdibbins
    where would put this my codes are in column "v",not up to speed with formulas
    cheers colin

  4. #4
    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: remove front letters from numbers

    Try this one

    assuming codes are in A1

    Place formula in column V1 and copy down

    =LOOKUP(1E+100,--RIGHT(A1,{1,2,3,4,5,6,7,8,9,0}))

    A
    B
    1
    s123
    123
    2
    st223
    223
    3
    f12
    12
    Last edited by AlKey; 08-21-2014 at 04:37 PM.
    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

  5. #5
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: remove front letters from numbers

    hi alkey
    that's better thanks only problem I enter in cell and pull down but will only do 2 rows although formula enters in other rows. they say value
    cheers colin

  6. #6
    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: remove front letters from numbers

    I suggest you upload a sample spreadsheet with about 10-15 rows of data so we could figure our a solution for you.

    To upload a file click on Go Advanced at the bottom of your screen then click on PaperClip icon and Add Files, Select File, locate your file and click Open then click Upload and click Done

  7. #7
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: remove front letters from numbers

    hi alkey
    formula in w and is looking up column b
    cheers colin

  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: remove front letters from numbers

    Quote Originally Posted by cfinch100 View Post
    hi alkey
    formula in w and is looking up column b
    cheers colin
    Please see attached file with your codes extracted in Column W
    I used array formula

    =NPV(-0.9,,IFERROR((MID(B4,256-COLUMN(A:IV),1)%),""))

    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    10-01-2012
    Location
    england
    MS-Off Ver
    Excel 2016 pro
    Posts
    772

    Re: remove front letters from numbers

    hi alkey
    that's great many thanks,have not got the foggiest what it means at the minute
    cheers colin

+ 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. Remove numbers, leave letters in a string
    By roxdrob in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 03-31-2014, 09:13 PM
  2. [SOLVED] ID number with 2 letters in front
    By Ray66 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 04-05-2013, 07:28 PM
  3. Replies: 9
    Last Post: 11-13-2012, 02:37 PM
  4. [SOLVED] Making a Part# List, Sequential Increments with Letters and numbers in front...
    By kpl39 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-31-2012, 08:29 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