Your cart is currently empty!
✅ How to Remove Line Breaks in Excel (Step-by-Step)
Line breaks (also called carriage returns or newlines) often sneak into Excel cells when you’re copying from Word, web pages, or using Alt+Enter to start a new line inside a cell.
These can mess up formulas, formatting, and data exports.
🧹 Method 1: Use Find and Replace (Quickest Way)
🔹 Steps:
- Select the range of cells (or entire sheet).
- Press Ctrl + H to open Find and Replace.
- In Find what, hold Ctrl and press J.
(This inserts a line break — you won’t see anything, but it’s there.) - In Replace with, type a space or nothing (if you want to delete the line break).
- Click Replace All.
✅ Done! All line breaks will be removed or replaced.
🧠 Tip:
Use a space in “Replace with” if you want to separate words, else words may merge.
Before:Amit\nSharma
→ Looks like:
Amit
Sharma
After (Replace with space):Amit Sharma
🧮 Method 2: Use a Formula
You can also remove line breaks using a formula with the SUBSTITUTE
function.
🧪 Formula:
=SUBSTITUTE(A1, CHAR(10), " ")
CHAR(10)
is the line break character (LF = Line Feed).- Replace
" "
with""
if you want to remove the break without adding space.
Then copy-paste as values if needed.
🔁 Method 3: Power Query (For Advanced Users)
If you’re working with imported datasets:
- Go to
Data
→Get & Transform
→From Table/Range
- In Power Query Editor, select the column
- Use Transform → Replace Values
- Replace line break: enter Ctrl + J in “Value to Find”
- Replace with a space or empty string
- Click Close & Load
📌 Bonus: Removing Line Breaks in Google Sheets?
Use:
=SUBSTITUTE(A1, CHAR(10), " ")
Or:
=REGEXREPLACE(A1, "\n", " ")
Top rated products
-
Tally Prime Course in Hindi: Complete Training for Efficient Accounting and GST Management
₹1,299.00 -
Master Google Workspace (G Suite) – Gmail, Docs, Drive, Sheets, Meet & More
-
Excel Formulas Masterclass: Unlocking Data Analysis Power
₹999.00 -
Konvio Neer Imported TDS Meter
-
Mastering MS Office in Hindi: Excel, MS Access, PowerPoint, and MS Word Training
Original price was: ₹1,999.00.₹1,499.00Current price is: ₹1,499.00. -
Master MIS Reporting & Analysis – Excel, VBA, Access, SQL (Hindi Training)