Solved

Excel 2010 Column heading has three rows in one cell. Make one row.

Posted on 2016-08-09
5
18 Views
Last Modified: 2016-08-09
How can I get the three rows (lines) within an Excel cell to be just one row (line)?  I have several columns formatted that way.  Is there a function to do this?
0
Comment
Question by:tomfarrar
  • 3
  • 2
5 Comments
 
LVL 45

Expert Comment

by:Martin Liss
ID: 41748979
You can Format Cells->Alignment-Merge Cells, but that will delete the content of 2 of the 3 rows. You can add the data back afterward.
0
 
LVL 7

Author Comment

by:tomfarrar
ID: 41749003
Can you find/replace on a line break?  The clean function makes it one line, but without spaces between words.
0
 
LVL 45

Accepted Solution

by:
Martin Liss earned 500 total points
ID: 41749028
I found this on the web.

If you want to replace these line-breaks with for example a space, you can do this with Excel's find/replace command. In the "Find what:" box you can enter the line-break code, which is character number 10. To do this, press and hold the Alt key, and then enter the numbers 010 from the numeric part of the keyboard.
0
 
LVL 7

Author Closing Comment

by:tomfarrar
ID: 41749438
Thanks, Martin, that does work. Though when you use the ALT button and enter 010, nothing shows up in the Find Box. But if you proceed on to the Replace and enter a space the Find/Replace works. Thanks again.
0
 
LVL 45

Expert Comment

by:Martin Liss
ID: 41749443
You're welcome and I'm glad I was able to help.

In my profile you'll find links to some articles I've written that may interest you.

Marty - Microsoft MVP 2009 to 2016
              Experts Exchange MVE 2015
              Experts Exchange Top Expert Visual Basic Classic 2012 to 2015
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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,…
This article will guide you to convert a grid from a picture into Excel format using Microsoft OneNote and no other 3rd party application.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…

707 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

17 Experts available now in Live!

Get 1:1 Help Now