?
Solved

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

Posted on 2016-09-16
4
Medium Priority
?
36 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
[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
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

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Question has a verified solution.

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

How to get Spreadsheet Compare 2016 working with the 64 bit version of Office 2016
New style of hardware planning for Microsoft Exchange server.
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

719 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