How to Delete a Apace in text in one cell

dbrull

Board Regular
Joined
Jun 25, 2002
Messages
71
I need to delete the space that will occur in a cell . the cell will contain a name such as Jones, Barb A

what i need to end up with is JonesBarbA

thanks
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

gareth

Board Regular
Joined
Apr 15, 2002
Messages
234
Try this format


=LEFT(a1,FIND(" ",a1))

If it does not work for you,try to concatenate it by splitting the cells first OK

Lots of luck
 

Andrew Poulsom

MrExcel MVP
Joined
Jul 21, 2002
Messages
73,092
If Jones, Barb A is in cell A1, then type this formula in any other cell:

=SUBSTITUTE(SUBSTITUTE(A1," ",""),",","")
 

Forum statistics

Threads
1,181,336
Messages
5,929,378
Members
436,665
Latest member
MonkeyNotDonkey

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