Excel Hints & Tips - Line Breaks in a Cell & Cell Formats
Sometimes you may want to add text in Excel that’s spread over multiple lines. Find out how to do this, or how to remove these, in this week’s blog by Happy trainer Ian Balboa.
Hi, we are Happy
We are leading a movement to create happy, empowered and productive workplaces.
How can we help you and your people to find joy in at least 80% of your work?
How to add a line break
Sometimes you want to have text in one cell that is spilt into multiple lines. To do this you need to use the ALT + ENTER keyboard shortcut. What you end up with is something like this:
This is very similar to putting a soft return into a Word document except that, in Word, you use SHIFT + ENTER.
How to remove or replace line breaks
To remove a single line break, just put your cursor next to it and use either the delete key or the backspace key to remove it, then replace it with a space or other character.
To remove a whole load of line breaks from within a worksheet you can use the ‘Find and Replace tool’. You’ll find this on the home tab, or you can use the CTRL + H keyboard shortcut.
In the Find box type ALT + 010. (You must use the number pad, not the row of numbers along the top of the keyboard – on a laptop you may need to turn on the number pad overlay). Then in the Replace box type in a space, or whatever character you wish to use. Then hit Replace, or Replace All if you are feeling brave!
Formatting cells with line breaks
What you may not realise is that adding a line break automatically turns on text wrapping for this cell. If you check the cell formatting you will see that the Wrap Text option is ticked:
(A quick way of getting into the formatting options for a cell is to use CTRL + 1.)
If you turn off text wrapping, then the two lines will move together:
As you can see, this causes the test to either be truncated, or to spill out into the next cell if that cell is empty. You can try using the Shrink to fit option in the cell format pop-up, but this can cause the text to become too small to read:
Why not sign up to our newsletter?
Sign up to our monthly newsletter, full of tips, tricks and news to help you to be happier and more productive at work.
Ian was an IT trainer with Happy from 2007 to 2018, first as a member of staff and then as an associate. He delivered IT training in Microsoft Office (Word, Excel, PowerPoint, Access, Outlook) as well as VBA, SQL, HTML and Photoshop.
Testimonials from happy Customers
Siobhan Brennan-Robson3 days ago
Ebiji was an excellent teacher. I will be keeping her on speed dial.
Sophie Allen3 days ago
the initial invitation didn't come to all participants so I wasnt sure if the training was confirmed
Trusted Customer4 days ago
Amazing work! Honestly, I have had such a pleasant experience with Happy whether it be online or in their offices. Hopefully, in the future, I get to have more sessions w...
Trusted Customer6 days ago
I found the Office 365 training really useful. It consolidated my self-taught learning and showed me some new things that will make my life easier as well as doing some t...
Trusted Customer6 days ago
Found the session interactive and engaging throughout. Range of tools shared.
Helen Twigg7 days ago
Really enjoyed the Liberating Structures Online Immersion Workshop. High energy that kept you involved all day and have been able to use the learning immediately. Woul...
Ruth Gibbins7 days ago
Great facilitation, very interactive and organsied
Emma Willcox7 days ago
Great course, with lots of opportunity to practice techniques and not just learn about them. The day is packed full of content, so be ready to embrace the fast pace and t...
Judy Duff7 days ago
Happy are a creative, unique, relevant and modern-day approachers of workshop delivery and content.
Trusted Customer9 days ago
Excellent course and facilitator :) The course had good interactive sessions and well thought out content. It was made relevant to our roles and the trainer was supportiv...
Scott Haines10 days ago
I thought the training was excellent. It was really enjoyable and engaging and gave me lots of ideas to take away.
Toks Kinoshi10 days ago
An excellent session led by Henry where I learnt some new, refreshing techniques