+ Reply to Thread
Results 1 to 5 of 5

Need to remove the space or extra line.

  1. #1
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Need to remove the space or extra line.

    Hello Friends

    In the cells A2 and A3 inputs are given and in cells C2 and C3 expected results given.

    I have tried using Trim but not working.

    thanks in advance.
    Sekar

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: Need to remove the space or extra line.

    Try

    C2
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Drag down!!
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Need to remove the space or extra line.

    Try this for both:

    =SUBSTITUTE(A2,CHAR(10),"")

    When you then copy the result and paste as value, you will see that the extra lines and spaces have gone.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  4. #4
    Forum Contributor
    Join Date
    02-15-2016
    Location
    India
    MS-Off Ver
    2016
    Posts
    657

    Re: Need to remove the space or extra line.

    Hello

    Thanks to both of you ankur shukla and Ali

    Your formulas working well.

    Thanks again

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,830

    Re: Need to remove the space or extra line.

    You're welcome!

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

+ 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. [SOLVED] remove extra space after two words
    By parkkibum in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 04-05-2014, 09:00 AM
  3. 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
  4. [SOLVED] Remove extra space between two words.
    By Dnyan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-21-2013, 08:23 AM
  5. Excel 2007 : Remove Extra Space
    By Jerseynjphillypa in forum Excel General
    Replies: 2
    Last Post: 11-08-2011, 12:09 PM
  6. [SOLVED] Extra Line Space
    By Leesa in forum Excel General
    Replies: 1
    Last Post: 05-24-2005, 05:06 PM
  7. Extra line space
    By JJ in forum Excel General
    Replies: 1
    Last Post: 02-18-2005, 08:06 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