+ Reply to Thread
Results 1 to 3 of 3

removing spaces after semicolons

  1. #1
    Registered User
    Join Date
    06-03-2009
    Location
    Mountain View, CA
    MS-Off Ver
    Excel 2003
    Posts
    46

    removing spaces after semicolons

    Hi All,

    I have cells in a sheet containing varying numbers of items separated by semicolons. I want to convert these to columns using text to columns.

    The trouble is there are spaces after each semicolon, and I don't know how to get rid of them. I believe this may be compounded by the fact that the cells containing varying numbers of items. When I convert to columns I don't want each cell in the new columns to start with spaces. I'm attaching an example of what I mean (sanitized with fast food joint names).

    Any help on this is tremendously appreciated.

    Thanks!
    Attached Files Attached Files
    Last edited by prawer; 08-20-2009 at 05:03 PM.

  2. #2
    Forum Contributor GuruWannaB's Avatar
    Join Date
    01-24-2008
    Location
    An hour due East of Cowtown Ohio
    MS-Off Ver
    2010
    Posts
    421

    Re: removing spaces after semicolons

    Select the column and do a CTRL+H...replace all "; " (with a trailing space) with ";" (without a trailing space) and then do your text-to-columns.

    HTH

    GWB,
    I help because of the Pavlovian dog that resides in the inner me...so if you are happy with the results, please add to my reputation. It helps keep me motivated!



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

  3. #3
    Registered User
    Join Date
    06-03-2009
    Location
    Mountain View, CA
    MS-Off Ver
    Excel 2003
    Posts
    46

    Re: removing spaces after semicolons

    Awesome! I had a similar thought before but this is the first time it worked.

    Thanks

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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