In Excel: while editing a cell, press Alt+Enter (Ctrl+Option+Enter or Cmd+Option+Enter on Mac) to drop a hard line break at the cursor; in a formula, join text with CHAR(10) — like =A1&CHAR(10)&B1 — and turn on Wrap Text so the break shows.
On this page7
Double-click the cell (or press F2) to enter edit mode and place the cursor where the break should go.
Press Alt+Enter on Windows, or Ctrl+Option+Enter / Cmd+Option+Enter on Mac, to insert a hard line break.
To break by formula, write =A1&CHAR(10)&B1, joining each part with &CHAR(10)&.
Select the cell and turn on Home ▸ Wrap Text so the line break is actually displayed.
What this does
A line break is a manual hard return placed at a chosen point inside one cell, unlike Wrap Text which auto-flows long text to the column width. You type the first part, press Alt+Enter, and the cursor moves to a fresh line within the same cell while the value stays a single cell. In a formula you build the break with CHAR(10), the line-feed character — for example =A1&CHAR(10)&B1 stacks the contents of A1 and B1 on two lines. Either way you must enable Home ▸ Wrap Text on the cell, otherwise the break is stored but rendered as a single run. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “excel two lines in one cell”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a layout choice that keeps the sheet readable and sortable useful in real work: repeatable, auditable, and not dependent on memory or luck.
A worked example
Double-click a cell, place the cursor between two words, and press Alt+Enter — the text after the cursor drops to a new line within the same cell. To do it by formula instead, enter =A1&CHAR(10)&B1 where A1 is "London" and B1 is "NW1 6XE"; with Wrap Text on, the cell shows "London" on the first line and "NW1 6XE" on the second. A line break lets you stack an address, a label and a code, or any multi-part entry tidily inside one cell — keeping the data in a single cell while reading like several lines. If there is any chance you will reuse this, drop it into a small template tab right now: a labelled input area on the left and the formula beside it, checked once against the tool above. Next time the same question comes up, the answer is a single paste away instead of a rebuild from memory.
In Google Sheets
Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “excel two lines in one cell”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.
Common mistakes
- Inserting CHAR(10) but leaving Wrap Text off, so the break is stored yet shown as one continuous line.
- Pressing plain Enter, which leaves the cell and moves down instead of breaking inside it.
- Expecting the row to grow on its own — reapply Home ▸ Format ▸ AutoFit Row Height if it stays clipped.
- Confusing a manual break with Wrap Text auto-wrap; the break sits at your chosen point, wrapping flows to the column edge.
Frequently asked questions
What is the shortcut for a line break in a cell?
Alt+Enter on Windows, and Ctrl+Option+Enter or Cmd+Option+Enter on Mac, while you are editing the cell.
How do I add a line break in a formula?
Join your text with CHAR(10), the line-feed character — for example =A1&CHAR(10)&B1 — then turn on Wrap Text so the break appears.
Does this work in Google Sheets?
Yes. Press Alt+Enter (or Ctrl+Enter) to break manually, and use CHAR(10) in formulas exactly the same way.