+ Reply to Thread
Results 1 to 3 of 3

Deleting unwanted spaces

  1. #1
    Registered User
    Join Date
    12-28-2004
    Posts
    10

    Deleting unwanted spaces

    I have a list of city and states that have spaces between them. For example right now I have:

    Atlanta, GA.

    What I want to get is:

    Atlanta,GA.

    I want to have some type of formula that will delete the space between the comma and the state. I've got a couple thousand city state combinations that I can't go through and delete each space.

    Any ideas?

  2. #2
    Forum Expert
    Join Date
    06-18-2004
    Location
    Canada
    MS-Off Ver
    Office 2016
    Posts
    1,474
    Assuming that Column A contains your list...

    B1, copied down:

    =SUBSTITUTE(A1," ","")

    Then, select the new column, and...

    1) Edit > Copy

    2) Edit > Paste Special > Values > Ok

    Hope this helps!

  3. #3
    Registered User
    Join Date
    12-28-2004
    Posts
    10
    Thanks! 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