+ Reply to Thread
Results 1 to 4 of 4

how to remove break line space...

  1. #1
    Forum Contributor
    Join Date
    09-07-2013
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    114

    how to remove break line space...

    hi,
    here with i have attached the XL sheet , in address column , please tel me how to remove space in the cell.

    if you press F2 in A1 cell u can know what is the problem. hlp me to find out
    Attached Files Attached Files

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,156

    Re: how to remove break line space...

    hi ganeshkumar. there are actually 2 types of "spaces" inside. 1 is the line break you are referring to. the other is something called non-breaking space. that's something you cannot get rid of using TRIM. so either use a formula in column B
    =SUBSTITUTE(SUBSTITUTE(A1,CHAR(160),""),CHAR(10),"")

    or use CTRL + H to Find & Replace
    the Line Space can be typed using CTRL + J
    replace with nothing

    the non-breaking space can be copied from cell A1. just press F2, select a single space at the end & press CTRL + C to copy. paste inside the Find & Replace Window. again, replace with nothing

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    09-07-2013
    Location
    chennai
    MS-Off Ver
    Excel 2010
    Posts
    114

    Re: how to remove break line space...

    thank u so much ... i got what i expected ....

  4. #4
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Re: how to remove break line space...


    Hi !

    • First insert a new column before column B.
    • In B1 cell enter this formula : =CLEAN(A1)
    • Copy down the formula until the last row used in column A.
    • Select column B, Copy and Paste it in column A as value only.
    • Delete column B.
    • Select column A and in the cell properties the Wraptext must be set to False


    Other way is do to it via a VBA procedure :
    Please Login or Register  to view this content.

+ 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. Remove all characters before space in line
    By gartie in forum Excel General
    Replies: 9
    Last Post: 08-29-2012, 05:52 PM
  2. remove line break
    By yiannis1925 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2012, 03:10 AM
  3. Replies: 2
    Last Post: 03-16-2006, 07:10 PM
  4. [SOLVED] Remove line break within cell
    By Tonya in forum Excel General
    Replies: 3
    Last Post: 07-06-2005, 04:05 PM
  5. Replies: 2
    Last Post: 06-14-2005, 02:05 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