+ Reply to Thread
Results 1 to 6 of 6

Deleting after 9 numbers

  1. #1
    Registered User
    Join Date
    03-04-2008
    Posts
    32

    Deleting after 9 numbers

    I have data in a column that has numbers letters and characters in, all that I require is the first 9 numbers (these are always the first 9 characters), any idea how this can be achieved.

    Many thanks
    John
    Last edited by johncon; 01-08-2009 at 09:32 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    Do you want VBA for this?
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    03-04-2008
    Posts
    32
    VBA would be OK.

    Forgot to add that the data will be in column A from A2 onwards.

    Thanks

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    The easiest way would be to simply use a helper column. If column B is empty then use it, if not insert a column.

    In B2 enter =LEFT(A1,9) and copy down. Copy the column & PasteSpecial values. Then delete Column A

  5. #5
    Registered User
    Join Date
    03-04-2008
    Posts
    32
    Roy

    Many thanks, this will work.

    John

  6. #6
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    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