Removing all spaces in a cell

jchrisphonte

New Member
Joined
Jun 21, 2009
Messages
37
Hello,

would love to know of any formula that can help remove all spaces in a cell.

Thank you in advance for your help.

Jerry
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.

jchrisphonte

New Member
Joined
Jun 21, 2009
Messages
37

ADVERTISEMENT

hmmm... sorry to bother, just tried the substitute formula and the space remained..

i should say that the spaces are in the middle of an email...

for example: bob .smith@abc.com
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try copying that space (just the space) and pasting it into another cell (say B1). What does this return

=CODE(B1)
 

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Data from a web page probably. Try

=SUBSTITUTE(A1,CHAR(160),"")
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,523
Messages
5,837,846
Members
430,519
Latest member
abtg1

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