Deleting extra characters?

KyaPam

New Member
Joined
Sep 22, 2006
Messages
20
How do I delete these characters (little boxes?) at the end? There has to be an easy way, I have over 7K rows of data although not every row has these. Most have no space between them and the word they follow, others may have a comma.

R/O PE, TONIGHT IF POSSIBLE
CHEST PAIN R/O PE
R/O P.E., SOB
POSSIBLE CHOLECYSTITIS
 

Excel Facts

What do {} around a formula in the formula bar mean?
{Formula} means the formula was entered using Ctrl+Shift+Enter signifying an old-style array formula.

clayv

New Member
Joined
Sep 18, 2006
Messages
6
Not knowing what the ASCII char codes for the boxes makes this difficult, but try using the the TRIM function.

If that doesn't work, PM me with a location of a sample file.
 

plettieri

Well-known Member
Joined
Sep 4, 2002
Messages
1,556
Platform
  1. MacOS
Hi KyaPam

You might try this and copy down...

=CLEAN(A1)


plettieri
 

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,884
Hi KyaPam

To remove non printable characters from a string, try:

=CLEAN(A1)

Hope this helps
PGC
 

Forum statistics

Threads
1,136,271
Messages
5,674,746
Members
419,525
Latest member
helensesc

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
Top