how to get rid of the carriage return in text?

poweryogi

New Member
Joined
Nov 7, 2005
Messages
9
Hi everyone,
My first visit and already i have a question:
A collegue has given me a spreadsheet with text columns. A few columns have some characters that gives me problems when i want to use the cells in GIS software. I guess that the character is the carriage return, but i'm not sure. Can anybody tell me how to get rid of this :devilish: char?
I was planning to copy an example into this message but the char is definetly the return. But i can't select the char in excel. Please help :(
gtrz Bart[/code]
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Have you tried using Replace, and replacing it with nothing (ie blank the replace input box) ) to get rid of it? Could you copy it to word (where carriage return is ^p) as this might be easier, then copy it back to excel????
 
Upvote 0
Use the CLEAN function:

=CLEAN(A1)

for eg to remove non-printing characters from the text in cell A1.

Best regards

Richard
 
Upvote 0
Since the ALT ENTER keys are used for entering a carriage return in Excel, have you tried using the ALT ENTER keys as your search criteria? For replace either leave it blank or enter a space or whatever you want.
 
Upvote 0
The clean function did the job!
Copying to word was no option: too much work.
I'm rather lazy then tired hence im glad with the clean function.
thx for your quick responses.
seeya
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,252
Members
449,075
Latest member
staticfluids

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top