Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to replace line breaks with br in Excel?

For replacing all line breaks in a range of cells with br in Excel, a method in this article can help you.

Replace line breaks with br with Replace All function

You may interest in

Easily split multi-line cell contents into rows or columns in Excel

Kutools for Excel's Split Cells utility helps you easily split cell contents by space, comma, new line or other separators into separated rows or columns in Excel. See screenshot:

Kutools for Excel includes more than 120 handy Excel tools. Free to try with no limitation in 60 days. Read More      Download the free trial now

doc extract text1

Replace line breaks with br with Replace All function

Please do as follows to replace all line breaks in selected cells with br.

1. Please select the cells containing the line breaks you need to replace with br, then click Home > Fine & Select > Replace to open the Find and Replace dialog box. See screenshot:

Note: You can also open the Find and Replace dialog box by pressing the Ctrl + H keys simultaneously.

2. In the opening Find and Replace dialog box, click on the Find what box and press the Ctrl + Shift + J keys together, enter br into the Replace with box, and then click the Replace All button. See screenshot:

3. Then a Microsoft Excel prompt box pops up, please click the OK button as below screenshot shown:

4. Close the Find and Replace dialog box.

Now all line breaks in selected cells are replaced with br immediately.

Related articles:

Recommended Productivity Tools

Office Tab

gold star1 Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 200 New Features for Excel, Make Excel Much Easy and Powerful:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

btn read more      btn download     btn purchase

Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.