I want to write multi-lines in one MS Excel cell.
But whenever I press the Enter
key, the cell editing ends and the cursor moves to next cell. How can I avoid this?
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Sign up to join this communityWhat you want to do is to wrap the text in the current cell. You can do this manually by pressing Alt + Enter every time you want a new line
Or, you can set this as the default behaviour by pressing the Wrap Text in the Home tab on the Ribbon. Now, whenever you hit enter, it will automatically wrap the text onto a new line rather than a new cell.
alt
+ enter
then disabling "word wrapping" and see your new line character somehow disappears.
Jun 21, 2018 at 11:34
libreoffice
, inserting new lines is done via ctrl
+ enter
and does not require enabling "word wrapping" for a cell.
Jun 21, 2018 at 11:37
Windows: Alt + Enter
Mac: Ctrl + Option + Enter
Note that inserting carriage returns with the key combinations above produces different behavior than turning on Wrap Text
. In the screenshot below, column A
has the carriage returns and column B
has Wrap Text
turned on. Changing the width of a column with carriage returns doesn't remove them. Changing the width of a column with Wrap Text
turned on will change where the lines break.
Alt + Enter never worked for me. I had to go to Format Cells
and make sure that the Number
tab was set to Text
. That allowed me to see exactly as I had input. My issue could have been Mac specific though.