Solved

excel question about removing two line text in one cell

Posted on 2011-03-10
2
198 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
Comment Utility
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
Comment Utility
great job
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
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,…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

771 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

10 Experts available now in Live!

Get 1:1 Help Now