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
-
Gmail Mastery: Advanced Training for Efficient Email Management
Original price was: ₹899.00.₹849.00Current price is: ₹849.00. -
Bajaj Pulsar NS125 UG ABS Motorcycle
Original price was: ₹110,000.00.₹95,356.00Current price is: ₹95,356.00. -
Primebook 2 Neo 2025 – The Next-Gen Budget Laptop for Students & Professionals
-
MS Word Training: Unlocking Its Full Potential with Our Comprehensive Online Course
Original price was: ₹1,999.00.₹1,949.00Current price is: ₹1,949.00. -
Ikigai: The Japanese Secret to a Long and Happy Life
-
Gmail Mastery Training in Hindi: Unlocking Advanced Email Management Technique
Original price was: ₹899.00.₹849.00Current price is: ₹849.00.