Solved

excel question about removing two line text in one cell

Posted on 2011-03-10
2
200 Views
Last Modified: 2012-05-11
I am trying to prepare data for a data base by formating tthe text to culumns. However, the second line in the same cell dissapears after I do the first, of what will be a few, text to column arrangements. Th clumn in queston is "F"

Thanks,

Blake 201004test.xlsx
0
Comment
Question by:wagamama123
2 Comments
 
LVL 22

Accepted Solution

by:
rspahitz earned 250 total points
ID: 35100595
I think the problem is that each line contains a line delimiter, which the t-2-c wizard is splitting then possibly throwing away the second line.

One solution is to fix those lines like this:

Insert a new blank column before F (pushing F into column G) and put this formula in F2:

=LEFT(G2,FIND(CHAR(10),G2&CHAR(10))-1) & " / " & MID(G2,FIND(CHAR(10),G2&CHAR(10))+1,999)

Copy that down and now those newlines will be replaced with slashes on a single line.

Copy column F, paste back as Value and delete column G.
0
 

Author Closing Comment

by:wagamama123
ID: 35100672
great job
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now