Solved

excel question about removing two line text in one cell

Posted on 2011-03-10
2
208 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

739 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