+ Reply to Thread
Results 1 to 5 of 5

Keep first 11 characters (including spaces) in a column.

  1. #1
    Registered User
    Join Date
    04-23-2013
    Location
    Palacios, Tx.
    MS-Off Ver
    Excel 2007
    Posts
    6

    Red face Keep first 11 characters (including spaces) in a column.

    I only need the first 11 characters in column B from B1 to B12650, the rest of the characters need to be cleared from each cell. Will someone please help me and write a little VB macro for me to copy and paste?

    Thanks,

    Jan

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Keep first 11 characters (including spaces) in a column.

    Just use a Helper column

    in C1
    =LEFT(B1,11)
    and copy down column C
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    04-02-2013
    Location
    USA
    MS-Off Ver
    Excel 2016
    Posts
    29

    Re: Keep first 11 characters (including spaces) in a column.

    Hi Jan,

    You don't need to use a macro for this. In a blank column use =left(B1,11). When you get your results, highlight your column, right click and do paste special and values. This will convert your formula into your text or numbers.

  4. #4
    Registered User
    Join Date
    04-23-2013
    Location
    Palacios, Tx.
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Keep first 11 characters (including spaces) in a column.

    That is awesome! Thanks, everyone! It worked! MUCH easier than I was making it out to be!! Have a great day!

  5. #5
    Registered User
    Join Date
    04-23-2013
    Location
    Palacios, Tx.
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: Keep first 11 characters (including spaces) in a column.

    Thanks again for the help!!

+ 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