change line in cell google sheet code example
Example: new line in google sheet cell
Edit data in a cell
Open a spreadsheet in Google Sheets.
Click a cell that's empty, or double-click a cell that isn't empty.
Start typing.
Optional: To add another line within a cell, press Ctrl + Enter on Windows.
When you're done, press Enter.