Excel Remove Line Break Formula

If you just need to excel remove line break formula 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.

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

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

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. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. The difference between a quick fix and a sheet you can trust is the extra minute you spend validating “excel remove line break formula”. Start on a copy or a tiny sample, keep the affected formula visible, and compare the result with the tool above before you touch the real workbook. 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. The point is a calculation you can defend to a CFO or an auditor, but the practical win is that someone else can open the file and understand what happened without asking you.

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. 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, the tool proves it, 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 remove line break formula”: 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 “remove line breaks in excel”, “how to remove line breaks in excel”, “how to remove a line break in excel” and “removing line breaks in excel”, 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. “remove line breaks in excel”, “how to remove line breaks in excel”, “how to remove a line break in excel” all point at the one operation explained on this page, which is why they all lead here.