164

I pressed return to make a new line in a cell of my Google Spreadsheet. That just moved the cursor to the next cell.

How does one add a new line in a cell?

2 Answers 2

195

When you're focused on the cell press enter to get into edit mode:

  • Windows/Linux/Chrome OS: Ctrl + Enter
  • Mac: Command/option(Alt) + Enter
6
  • 3
    Linux: Ctr + Enter works Commented May 31, 2013 at 18:45
  • 35
    If you need a line break in a formula, use CHAR(10). Commented Dec 9, 2013 at 13:47
  • 1
    On Windows AltGr + Enter works too
    – webketje
    Commented Oct 5, 2015 at 21:38
  • What is the option for adding the new line from mobile application of google spread sheet? Commented Nov 24, 2017 at 10:13
  • 7
    I just facepalmed! Why isn't this SHIFT+Enter, like so many other applications?
    – ecbrodie
    Commented Aug 23, 2018 at 16:41
57

Amendment

New Line in Cell Formula >> CHAR(10)

Example Usage

  • =Concatenate("Line 1", CHAR(10), "Line 2", CHAR(10), "Line 3")
  • =Join(CHAR(10), "Line 1", "Line 2", "Line 3")

Why CHAR(10)?

A new line is also known as a Line Feed. The hexadecimal Unicode Control Code for a Line Feed is U+000A. Therefore, the decimal value of a Line Feed is 10.

This decimal value can be used in the CHAR(...) function in Google Sheets to return the desired character.


Note: Dez's answer does not work for cell formulas. I was searching for adding new-lines in cell formulas, and this StackExchange question popped up. Therefore, I added the above for those that need new lines in formulas. The below is a snapshot of Dez's answer for completeness :)

Dez's Answer

In Edit Mode

  • Windows/Linux: Ctrl + Enter or Alt + Enter

  • Mac: Command/option(Alt) + Enter

2
  • 1
    Here's another useful way to do it: =JOIN(Char(10), A1,A2,A3...)
    – Matan
    Commented Dec 17, 2017 at 22:59
  • =TEXTJOIN(CHAR(10), 1, "Line 1", "Line 2", "Line 3") may even be better to treat empty values
    – vstepaniuk
    Commented Nov 11, 2023 at 9:48

Not the answer you're looking for? Browse other questions tagged or ask your own question.