Solved

excel question about removing two line text in one cell

Posted on 2011-03-10
2
209 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
Some code to ensure data integrity when using macros within Excel. Also included code that helps secure your data within an Excel workbook.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

696 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