Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to only keep first line of text in each cell on excel

Posted on 2016-09-16
4
Medium Priority
?
38 Views
Last Modified: 2016-10-20
I have a large excel spreadsheet where each cell has multiple lines of text. Each cell has 2-4 lines of text. However I only want to keep the first line of text.

For example
Name
job
location

I want it to only be:
Name


Better yet, I would like to cut the second line of each cell in column B and have them in column C. I am using microsoft excel 2013. Is there a way to do this?

There are almost 500 people so don't want to have to do it manually!
0
Comment
Question by:hannah chan
  • 2
4 Comments
 
LVL 10

Accepted Solution

by:
Prakash Samariya earned 2000 total points
ID: 41801592
You can use Text to Column feature of excel!

Please find below example for info:
http://datapigtechnologies.com/blog/index.php/split-data-into-several-columns-based-on-carriage-returns/comment-page-1/
0
 
LVL 27

Expert Comment

by:Glenn Ray
ID: 41802371
^Pretty cool trick.  Gonna have to add that to my knowledge-base.
1
 
LVL 10

Expert Comment

by:Prakash Samariya
ID: 41808267
@hannah, hope you got answers from my link! Isn't it?
@Glenn, Thank you :)
0
 
LVL 14

Expert Comment

by:frankhelk
ID: 41851699
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: Prakash Samariya (https:#a41801592)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

frankhelk
Experts-Exchange Cleanup Volunteer
0

Featured Post

NEW Veeam Backup for Microsoft Office 365 1.5

With Office 365, it’s your data and your responsibility to protect it. NEW Veeam Backup for Microsoft Office 365 eliminates the risk of losing access to your Office 365 data.

Question has a verified solution.

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

Ever wonder what it's like to get hit by ransomware? "Tom" gives you all the dirty details first-hand – and conveys the hard lessons his company learned in the aftermath.
Windows Explorer lets you open cabinet (cab) files like any other folder. In VBA you can easily handle normal files and folders, but opening and indeed creating cabinet files takes a lot more - and that's you'll find here.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

971 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