Excel Remove Line Break Formula

There are two ways to “excel remove line break formula”: the quick way you copy and the durable way you understand. This page gives you both. The exact Excel answer is above; below, we build the small mental model that makes the fix stick, so the next variation of the same problem solves itself.

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. 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 outcome you expected 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. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. 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. For “excel remove line break formula”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

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.