+ Reply to Thread
Results 1 to 4 of 4

How to get Data in single line From new lines

  1. #1
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    How to get Data in single line From new lines

    Dears I am not sure whether Iam giving you the right information to make you understand my problem

    My issue is , In my Excel data , data is showing in new lines in fx bar
    I dont know why

    it is like space is there between each line, when i am deleting the space in FX bar after each line end
    then it is joining in same line.

    for clear understadning my issue.
    pls refer attachements.


    see the data of A1,A2,A3,A4,A5 in Formula bar , All are showing in new lines Except A4

    the result is want is same like data in A4, how to get it.
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How to get Data in single line From new lines

    Because the user has given Alt+Enter to create new lines in the cell for each entry.

    In B1 Cell
    =SUBSTITUTE(A1,CHAR(10)," ")

    Drag it down…

    Copy the formula cells and use paste special and change it to values.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Contributor
    Join Date
    09-05-2012
    Location
    Dubai
    MS-Off Ver
    Office 365
    Posts
    409

    Re: How to get Data in single line From new lines

    Wonderful, Thank you so much for solving in a flash

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: How to get Data in single line From new lines

    Glad it helps you and thanks for the feedback

+ 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. Replies: 8
    Last Post: 08-01-2013, 10:17 PM
  2. Replies: 0
    Last Post: 06-29-2012, 03:16 PM
  3. Multiple lines of similar data to one single line
    By T_Van in forum Excel General
    Replies: 7
    Last Post: 02-27-2012, 06:03 PM
  4. Replies: 2
    Last Post: 12-31-2011, 12:16 PM
  5. Displaying single line of text on several lines in a textbox
    By Brunstgnegg in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-19-2010, 10:34 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