+ Reply to Thread
Results 1 to 3 of 3

Delete all characters in the cell except the first 5

  1. #1
    Registered User
    Join Date
    07-28-2016
    Location
    Chatham
    MS-Off Ver
    2016
    Posts
    93

    Delete all characters in the cell except the first 5

    Hi Everyone,

    I have a list of 2000 cost codes and the respective team names:

    4C473 - RURAL LIAISON GRANTS
    4R402 - AUDIT SERVICES TEAM
    4R525 - MRBS

    Any chance to delete any characters after the 5th in all 2000 lines?

    Thank you!

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Delete all characters in the cell except the first 5

    hi there. assuming the data starts in cell A1, try this in cell B1:
    =LEFT(A1,5)

    copy the formula down. copy and paste the values in column B. delete column A

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    07-28-2016
    Location
    Chatham
    MS-Off Ver
    2016
    Posts
    93

    Re: Delete all characters in the cell except the first 5

    Perfect, thank you!

+ 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. [SOLVED] Delete ALL but characters at left or right of cell.
    By Trevasaurus in forum Excel General
    Replies: 2
    Last Post: 01-16-2013, 10:33 AM
  2. how to delete first 4 characters in a cell?
    By sami770 in forum Excel General
    Replies: 12
    Last Post: 05-29-2011, 07:01 AM
  3. Delete last 9 characters from a cell
    By Tom K in forum Excel General
    Replies: 1
    Last Post: 03-05-2008, 02:10 PM
  4. delete certain characters from a cell
    By legolas in forum Excel General
    Replies: 4
    Last Post: 09-19-2007, 04:20 AM
  5. Delete first few cell characters
    By mohd21uk via OfficeKB.com in forum Excel General
    Replies: 4
    Last Post: 06-07-2006, 07:35 AM
  6. Replies: 2
    Last Post: 06-07-2006, 07:10 AM
  7. Replies: 7
    Last Post: 12-14-2005, 11:10 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