How to Add a Line in a Cell in Excel

If you just need to add a line in a cell in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

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
Annotated stepsExcel
1

Double-click the cell (or press F2) to enter edit mode and place the cursor where the break should go.

2

Press Alt+Enter on Windows, or Ctrl+Option+Enter / Cmd+Option+Enter on Mac, to insert a hard line break.

3

To break by formula, write =A1&CHAR(10)&B1, joining each part with &CHAR(10)&.

4

Select the cell and turn on Home ▸ Wrap Text so the line break is actually displayed.

=A1&CHAR(10)&B1
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

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. Treat “add a line in a cell in excel” as a small repeatable workflow rather than a one-off click you hope to remember next time. Use a small test block before the live file, so any surprise in the affected cells shows up while it is still harmless. 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 turns a layout choice that keeps the sheet readable and sortable into a method you can reuse, explain, and defend when the workbook leaves your screen.

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. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

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. Nothing on this page is behind a login or a download: the exact answer is at the top, and the detail below it is there for when you need it. That is the whole promise here — the answer first, and just enough context to make it stick. The short version of “add a line in a cell in excel”: 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.

Other ways people ask this

People reach this page typing “how to add a line in excel cell”, “how to add lines in excel cell”, “add a line in excel cell” and “excel add line in cell”, among other phrasings; whichever wording you used, the fix above is the one you want.

Why do people search for this in so many different ways?

Because the same task has many names. “how to add a line in excel cell”, “how to add lines in excel cell”, “add a line in excel cell” all point at the one operation explained on this page, which is why they all lead here.