deleting spaces

wanabxlnerd

New Member
Joined
Sep 19, 2004
Messages
20
Hello. :) I am looking for a way to delete a string of spaces in a cell without using the delete button over and over. I have many collumns of names which were downloaded into excel from another database. Along with the data however comes so much space (only after the name) that it becomes a problem. I was looking for a way to do a Find and Replace but do not know what character(s) to use. Any ideas are much appreciated!
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
Have you looked at the TRIM or CLEAN worksheet functions?
 
Upvote 0
Can you use the Trim function? ie =Trim(A1) removes all of the leading and trailing spaces from A1.
 
Upvote 0
You can use the "Replace" tool found on your Edit tool bar to elimate all spaces in your selected area.
1. Goto Edit ....Replace... and click Replace... the Replace Window will appear.
2. Click on the "Find What " text box and then press your space bar once
3. DONT put anything in the "Replace With" text box... don't even enter it
4. Click on OK
 
Upvote 0
sim to Nimrods suggestion:

type "alt+255" or "alt+160" in the "Find What" text box
 
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,773
Members
448,991
Latest member
Hanakoro

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