+ Reply to Thread
Results 1 to 6 of 6

removing space from string

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    11-23-2007
    Location
    Suffolk, UK
    Posts
    298

    removing space from string

    Hello,

    i need to remove a space from the middle of a text string, ie,

    12345 6789 or 123 456789 or 1234567 89

    needs to show

    123456789

    the space will be at a random point in the text.

    any ideas?

    thanks reg

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Edit > Find, type in a space, click Replace leave blank click All
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Contributor
    Join Date
    11-23-2007
    Location
    Suffolk, UK
    Posts
    298
    thanks old chippy,

    is there a function that will do the same thing, as its part of a larger worksheet that runsautomatically.

    thanks reg

  4. #4
    Forum Contributor
    Join Date
    11-23-2007
    Location
    Suffolk, UK
    Posts
    298
    thanks old chippy,

    is there a function that will do the same thing, as its part of a larger worksheet that runsautomatically.

    thanks reg

  5. #5
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    With your numbers in column A you could use

    =SUBSTITUTE(A1," ","") copy down column B

  6. #6
    Forum Contributor
    Join Date
    11-23-2007
    Location
    Suffolk, UK
    Posts
    298
    thanks old chippy,

    its seems so simple,

    thanks again reg

+ 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