+ Reply to Thread
Results 1 to 5 of 5

Removing Letters from the Fields in a Column

  1. #1
    Registered User
    Join Date
    06-28-2012
    Location
    CT, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Removing Letters from the Fields in a Column

    I have a list of customer sales drawings I need to filter through, but I need to only search for the specific part number, so I would like to create a column with only the part number associated with the sales drawings. For example, say I have the current field of "SD100-1-11" where the part number associated with this sales drawing is "100-1-11". I will need to change all the list of "SDXXX-XX-XX" into a list of "XXX-XX-XX". I assume it will have to be done through VB, but I don't have enough experience with it to do it myself (correctly).
    Please help if you know this shortcut.

    Thank you.
    Last edited by m.raby; 06-28-2012 at 09:04 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Removing Letters from the Fields in a Column

    Hi

    You can use

    =RIGHT(A1,8)
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Removing Letters from the Fields in a Column

    Do all values in the the field have the same format and same number of characters i.e. AB123-4-56?

    You could use =RIGHT(x,len(x)-2). This will remove the first two characters i.e. SD in your example
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    06-28-2012
    Location
    CT, USA
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: Removing Letters from the Fields in a Column

    Worked perfectly after using the LEN formula. Thank you.

  5. #5
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: Removing Letters from the Fields in a Column

    Great! Kindly mark the thread as 'solved'

    To mark your thread solved do the following:
    - Go to the first post
    - Click edit
    - Click Advance
    - Just below the word "Title:" you will see a dropdown with the word No prefix.
    - Change to Solve
    - Click Save

+ 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