+ Reply to Thread
Results 1 to 2 of 2

Delete all characters after the first two in multiple cells in a column

  1. #1
    Registered User
    Join Date
    02-04-2011
    Location
    North Carolina
    MS-Off Ver
    Excel 2003
    Posts
    1

    Delete all characters after the first two in multiple cells in a column

    I have a column of names. I want to keep only the first to letters and drop the rest. Any suggestions on how to do this? There are no symbols or numbers with then so find/replace all after the symbol is out.
    Last edited by graham1298; 02-04-2011 at 04:04 PM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Delete all characters after the first two in multiple cells in a column

    Select the column and go to Data|Text to Columns.

    Select Fixed Width and click Next.

    In the Data Preview pane, click after the first 2 chars and you should get a vertical line separating those from the rest.

    Click next, select the right column from the Data Preview Pane and then select Do not import (skip) from the Column data format area.

    Click Finish.

    Alternatively, you can use a temporary helper column with =LEFT(A1,2) where A1 contains original and copy down, then copy and paste special >> values over the original... then delete the helper column.
    Where there is a will there are many ways.

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

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

+ 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