+ Reply to Thread
Results 1 to 4 of 4

Thread: Eliminate letters in a string

  1. #1
    Valued Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    433

    Eliminate letters in a string

    Im trying to do a lookup and some codes but I only need the 5 digit numbers. Is there a quick way to eliminate the letters on the end of the codes?

    15830P
    19325
    19325M
    19325SE
    19325S
    19325SM
    19325SS
    19318
    19316S
    19316MI
    19316M
    Last edited by day92; 06-30-2011 at 04:04 PM.

  2. #2
    Forum Guru jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    San Antonio, TX
    MS-Off Ver
    Excel 2007
    Posts
    2,573

    Re: Eliminate letters in a string

    One way...

    http://www.excelforum.com/2554988-post2.html

    Edit: I guess my eyes decieved me, I thought I saw more than five numbers
    HTH
    Regards, Jeff

    If you like the answer(s) provided, why not add some reputation by clicking the * below
    Please use [ Code ] tags when posting [ /Code ]
    Please view/read the Forum rules --- How to mark a thread as solved

  3. #3
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: Eliminate letters in a string

    You can reference the 5 digits with formula/function: =LEFT(A1,5)

    If you want an actual numeric result, then add +0 to the end.
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  4. #4
    Valued Forum Contributor day92's Avatar
    Join Date
    04-20-2010
    Location
    Los Angeles
    MS-Off Ver
    Excel 2007
    Posts
    433

    Re: Eliminate letters in a string

    Got it. Thanks

+ 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.2.0