+ Reply to Thread
Results 1 to 4 of 4

How to remove space within a string through Excel Functions

  1. #1
    Registered User
    Join Date
    08-27-2013
    Location
    Shanghai
    MS-Off Ver
    Excel 2010
    Posts
    10

    How to remove space within a string through Excel Functions

    Dear Lists,

    I hope to know any function or embeded function which could help to remove space (' ') within a string.

    For example
    Before: Din ner
    After: Dinner.

    Thanks,
    Viesta

  2. #2
    Forum Contributor
    Join Date
    05-24-2013
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    291

    Re: How to remove space within a string through Excel Functions

    Hi & welcome to the forum

    You can use this

    =SUBSTITUTE(D8," ","")

    where your word "Din ner" is in cell D8
    Click on * below if you find this helpful

    Thanks,
    A

  3. #3
    Forum Contributor
    Join Date
    07-02-2013
    Location
    Stockholm, Sweden
    MS-Off Ver
    Excel 2003 and 2007
    Posts
    197

    Re: How to remove space within a string through Excel Functions

    Or mark the range of cells you want to change. Choose "Find and replace"
    Find: " " (only a blank character)
    Replace with: NOTHING (no character)

  4. #4
    Registered User
    Join Date
    08-27-2013
    Location
    Shanghai
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: How to remove space within a string through Excel Functions

    Thanks, A!
    That's a really good idea and much helpful to me!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. how to remove first space in excel
    By anil.sapre in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-03-2013, 09:49 AM
  2. [SOLVED] If Cell Starts with a Space, remove that space
    By Ocean Zhang in forum Excel General
    Replies: 2
    Last Post: 09-29-2012, 01:52 PM
  3. remove non-existent space in front of text in excel
    By ewong in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-27-2012, 12:30 PM
  4. [SOLVED] how to remove a space after a string?
    By elaine in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-09-2006, 10:10 AM
  5. [SOLVED] How do I remove a hidden space in Excel cells
    By EJ B in forum Excel General
    Replies: 4
    Last Post: 11-18-2005, 03:30 PM

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