+ Reply to Thread
Results 1 to 6 of 6

Remove Non-Printable Characters in excel

  1. #1
    Registered User
    Join Date
    04-14-2015
    Location
    India
    MS-Off Ver
    2013
    Posts
    127

    Remove Non-Printable Characters in excel

    Hello Everyone,

    After importing text files into excel I noticed that there are some ASCII Character codes found in some cells. How can I remove these non-printable characters.

    Regards,
    Vikas

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Remove Non-Printable Characters in excel

    Not sure if this will work for them all, but try TRIM in a helper column...
    =TRIM(cell-ref)

    You may also need to ID the ascii code and use SUBSTITUTE()

    upload a small (clean) sample workbook (not a pic) of what you are working with, and what your expected outcome would look like.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Remove Non-Printable Characters in excel

    Clean() function removes all non printable characters from text
    http://www.techonthenet.com/excel/formulas/clean.php
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  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 Non-Printable Characters in excel

    Except for the char 160 nbsp character.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,051

    Re: Remove Non-Printable Characters in excel

    duh, thank humding, I meant clean, not trim, it was late, thats my excuse lol

  6. #6
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: Remove Non-Printable Characters in excel

    Maybe this will help

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

+ 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. Non Printable Characters
    By bmilleruvm1 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-08-2012, 10:13 AM
  2. Splitting cells by non-printable characters
    By Simon1185 in forum Excel General
    Replies: 8
    Last Post: 10-16-2009, 05:34 AM
  3. Non-Printable Characters
    By John Bates in forum Excel General
    Replies: 4
    Last Post: 08-26-2009, 04:58 PM
  4. Viewing non-printable characters
    By refresh in forum Excel General
    Replies: 1
    Last Post: 07-21-2006, 09:30 AM
  5. Replacing Non Printable Characters
    By SA3214 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-15-2005, 08:05 AM

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