Excel Hints & Tips – Line Breaks in a Cell & Cell Formats

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?

Keep informed about happy workplaces

Sign up to Henry's monthly Happy Manifesto newsletter, full of tips and inspiration to help you to create a happy, engaged workplace.

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:

A cell with multiple lines of text

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:

Wrap Text option 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:

Unwrapped text

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:

Text that has the Shrink to Fit option applied

Related Blogs

Learn the 10 core principles to create a happy and productive workplace in Henry Stewart's book, The Happy Manifesto.

Hi, we are Happy

We help organisations create happy, productive workplaces, where people feel trusted, work to their strengths and are confident with their IT software.

We want everyone to find joy in at least 80% of their work, everyday.

Our workplace solutions include:
– Workplace consultancy
– Leadership and personal development programmes
– Government-funded management apprenticeships
– AI and Excel training

And much more. Get in touch with our friendly team to discuss your current challenge and find out how we can help you.

Ian Balboa

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.

What you should look at next

Thanks.

We've received your message and will get back to you soon. In the meantime, you may find these of interest.

The Happy Manifesto

The Happy Manifesto features ten core principles for creating happier, more engaging places to work. We offer all of Henry's books as free downloads.

Want more ideas for creating happy, productive workplaces?

Sign up for our Happy Manifesto newsletter and discover fresh ways to ignite joy and productivity at work. Get expert tips, insights, and ideas that challenge the norm—straight to your inbox. Join our movement and start your journey for a trust-based, values-led organisation.

Want more ideas for creating happy, productive workplaces?

Sign up for our Happy Manifesto newsletter and discover fresh ways to ignite joy and productivity at work. Get expert tips, insights, and ideas that challenge the norm—straight to your inbox. Join our movement and start your journey for a trust-based, values-led organisation.