+ Reply to Thread
Results 1 to 5 of 5

Remove unknown character and extra space from Name

  1. #1
    Registered User
    Join Date
    09-19-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    61

    Remove unknown character and extra space from Name

    Hi..
    I have used following two types of formula to remove the hidden unknown character / Extra space from the name. But extra space and special character is not removed. Sample sheet has been attached. can you help me to share the excel format to fix this.
    =SUBSTITUTE(A4,CHAR(160)," ")
    =TRIM(A4)
    Thanks.. Senthil
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,496

    Re: Remove unknown character and extra space from Name

    I just clicked in the first cell (A4), highlighted the space you want removed then copied it, opened find and replace, pasted it into find and left replace blank, then hit replace all and it is gone.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: Remove unknown character and extra space from Name

    You can combine both formulae like this:

    =TRIM(SUBSTITUTE(A4,CHAR(160),""))

    Note that I have removed the space between the "".

    Hope this helps.

    Pete

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Remove unknown character and extra space from Name

    No formulas needed. You can "clean" that data right in place.

    The macro at this website will remove all leading/trailing
    and multiple interspersed char 32 space characters.
    It will also remove and/or convert char 160 non breaking
    spaces into standard char 32 space characters. It will
    work on text or numbers and the numbers will be
    converted to true numeric numbers.

    I use this macro dozens of times every single day!
    It's a real time saver.

    http://www.mvps.org/dmcritchie/excel/join.htm#trimall
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    09-19-2013
    Location
    India
    MS-Off Ver
    Excel 2019
    Posts
    61

    Re: Remove unknown character and extra space from Name

    Thanks. the formula works well.

+ 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. [SOLVED] Extra space or spaces in Text in Forum Post. BB Code for extra space ?
    By Doc.AElstein in forum The Water Cooler
    Replies: 21
    Last Post: 03-02-2016, 02:59 PM
  2. Replies: 0
    Last Post: 08-19-2014, 11:02 AM
  3. [SOLVED] remove extra space after two words
    By parkkibum in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-05-2014, 09:00 AM
  4. How to remove an extra space at the end of the line?
    By EnCECU in forum Excel General
    Replies: 2
    Last Post: 03-01-2014, 04:37 PM
  5. [SOLVED] Formula for removing space or unknown character. (Trim is not working)
    By senthile in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-06-2014, 04:08 PM
  6. [SOLVED] Remove extra space between two words.
    By Dnyan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2013, 08:23 AM
  7. Excel 2007 : Remove Extra Space
    By Jerseynjphillypa in forum Excel General
    Replies: 2
    Last Post: 11-08-2011, 12:09 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