Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Excel Return to Next Line: How to Add Line Breaks

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To return to the next line within a single cell in Excel, use the keyboard shortcut Alt + Enter (on Windows) or Option + Command + Return (on Mac). This creates a manual line break, allowing you to enter multiple paragraphs or lists inside one cell without moving to the cell below. This is essential for organizing data that requires detailed notes, addresses, or itemized lists while keeping the spreadsheet structure intact.

What You'll Need

  • A computer with Microsoft Excel installed (works on Excel 365, 2021, 2019, 2016, and earlier versions).
  • A keyboard with the Alt key (Windows) or Option/Command keys (Mac).
  • A spreadsheet with data that requires multi-line formatting.

Step-by-Step

  1. Select the Cell: Click on the cell where you want to enter the text. If the cell already contains text and you want to add a new line in the middle, double-click the cell to enter Edit Mode.
  2. Position the Cursor: Use your mouse or arrow keys to place the blinking cursor exactly where you want the line to break. For example, if you are typing an address, place the cursor at the end of the street name before the city.
  3. Apply the Shortcut:
    • On Windows: Hold down the Alt key and press Enter.
    • On Mac: Hold down the Option key and the Command key, then press Return. (Note: Depending on your specific Mac version or keyboard layout, Option + Return may also work).
  4. Verify the Break: You will notice the cursor jump to a new line within the same cell. You can now continue typing your second line of text.
  5. Repeat as Needed: You can use this shortcut as many times as necessary to create multiple lines within a single cell.
  6. Finalize the Entry: Once you have finished typing all your lines, press the Enter key (without holding Alt) to exit the cell and save the changes.
  7. Adjust Row Height: If the text looks cut off or the cell doesn't automatically expand, hover your mouse over the boundary line of the row number on the far left. Click and drag the boundary down to reveal all the lines you created.

Common Mistakes

One of the most frequent mistakes users make is pressing only the Enter key. In Excel, the Enter key is designed to complete the data entry for the current cell and move the selection to the cell immediately below. This results in your data being split across two different rows, which breaks the integrity of your data table and makes sorting or filtering nearly impossible.

Another common error is forgetting to enable Wrap Text. While Alt + Enter forces a break, if the Wrap Text setting is disabled and the row height is fixed, the text may appear as a single long string or be hidden behind the neighboring cell. Users often think the shortcut didn't work when, in reality, the cell is simply not tall enough to display the second line.

Some users attempt to use the Space bar to push text to the next line. This is highly discouraged because it creates "invisible" data that varies depending on the column width. If you change the width of the column later, your manually spaced text will shift, ruining the alignment and making the document look unprofessional.

Lastly, users sometimes try to use the Tab key to create a new line. In Excel, Tab moves the selection to the next cell to the right. This is a navigation tool, not a formatting tool, and will not result in a line break within the cell.

Tips

To ensure your multi-line cells look clean, use the Wrap Text feature located in the Home tab under the Alignment group. When Wrap Text is active, Excel will automatically adjust the line breaks based on the width of the column, but your manual Alt + Enter breaks will remain exactly where you placed them. This gives you a hybrid of automatic and manual control.

If you have a large amount of data that needs line breaks based on a specific character (like a comma or a semicolon), you don't have to do it manually for every cell. You can use the Find and Replace tool. Open Find and Replace (Ctrl + H), put the character you want to replace in the "Find what" box, and in the "Replace with" box, press Ctrl + J. Ctrl + J is the hidden shortcut for a line feed character. After clicking Replace All, Excel will convert all those characters into manual line breaks.

For those working with complex lists inside a cell, consider using a consistent indentation style. Since Excel doesn't have a "Tab" function inside a cell, you can use two or three spaces at the start of the second line to create a visual hierarchy, making the data much easier for others to read.

When printing spreadsheets with multi-line cells, always check the Print Preview. Because line breaks increase the height of rows, your data may spill over onto additional pages. You may need to adjust the scaling settings to "Fit All Columns on One Page" to ensure the layout remains professional.

Troubleshooting

The text is still on one line after pressing Alt + Enter: First, check if you are actually in "Edit Mode." You must see the blinking cursor inside the cell. If you just click the cell once and press the shortcut, it may not register. Double-click the cell or press F2 to enter Edit Mode, then try the shortcut again. If that fails, ensure that Wrap Text is turned on in the Home menu.

The row height didn't change automatically: Sometimes Excel fails to auto-expand the row when a manual break is added. To fix this, go to the row header on the left, double-click the bottom boundary of the row number. This triggers the "AutoFit Row Height" feature, which instantly snaps the row to the exact height needed to show all text.

The shortcut isn't working on my Mac: Mac keyboard shortcuts can vary based on the OS version. If Option + Command + Return doesn't work, try Option + Return or Control + Option + Return. Ensure that no other third-party software (like a window manager or clipboard tool) is overriding these specific key combinations.

I can't see the second line even though Wrap Text is on: This usually happens when the row height has been manually set to a specific pixel value. Manual height settings override AutoFit. To reset this, right-click the row header, select Row Height... and enter a larger number, or use the double-click AutoFit method mentioned above.

Frequently Asked Questions

Can I use a formula to add a line break?

Yes, you can use the CHAR function. On Windows, use =A1 & CHAR(10) & B1. On Mac, use =A1 & CHAR(13) & B1. You must enable Wrap Text on the formula cell for the break to be visible.

Does Alt + Enter work in Excel Online?

Yes, the Alt + Enter shortcut works in the web-based version of Excel, though browser shortcuts can occasionally interfere. Ensure your browser window is active and the cell is in Edit Mode.

How do I remove all line breaks from a column?

Use Find and Replace (Ctrl + H). In the "Find what" box, press Ctrl + J (which represents the line break). Leave the "Replace with" box empty or put a space, then click Replace All.

Will line breaks affect my data sorting?

Line breaks do not change the value of the cell for sorting purposes, but they can make the sorted list look cluttered if the row heights are not consistent. Sorting will still treat the entire cell as one single string of text.

Can I use a bulleted list inside an Excel cell?

Excel doesn't have a built-in bullet list button. To achieve this, press Alt + 7 (on the numeric keypad) to insert a bullet point, then type your text, and use Alt + Enter to start the next bulleted line.