Remove Space in between, front and last of cell

chandsu

New Member
Joined
Mar 19, 2010
Messages
39
Hi All,

How to remove a space in between, front & last in a excel, since i have a huge data

for example

i have in col something like this

S01 E201 = in another column i need like this S01E201
if there is space before the letter S and if there is space after the last letter 1 in need to remove the space in the excel

for more clarificaiton

[TABLE="width: 128"]
<TBODY>[TR]
[TD]Col A</SPAN>[/TD]
[TD]Col B</SPAN>[/TD]
[/TR]
[TR]
[TD]S01 E201</SPAN>[/TD]
[TD]S01E201</SPAN>[/TD]
[/TR]
[TR]
[TD] S02E201</SPAN>[/TD]
[TD]S02E201</SPAN>[/TD]
[/TR]
[TR]
[TD]S03E111 </SPAN>[/TD]
[TD]S03E111</SPAN>[/TD]
[/TR]
</TBODY><COLGROUP><COL span=2></COLGROUP>[/TABLE]
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Hi All,

How to remove a space in between, front & last in a excel, since i have a huge data

for example

i have in col something like this

S01 E201 = in another column i need like this S01E201
if there is space before the letter S and if there is space after the last letter 1 in need to remove the space in the excel

for more clarificaiton

[TABLE="width: 128"]
<tbody>[TR]
[TD]Col A[/TD]
[TD]Col B[/TD]
[/TR]
[TR]
[TD]S01 E201[/TD]
[TD]S01E201[/TD]
[/TR]
[TR]
[TD] S02E201[/TD]
[TD]S02E201[/TD]
[/TR]
[TR]
[TD]S03E111 [/TD]
[TD]S03E111[/TD]
[/TR]
</tbody>[/TABLE]


Hi, have you tried to use ctrl + h to replace space (hit space once) for nothing (dont fill anything in the Replace with)
 
Upvote 0

Forum statistics

Threads
1,223,272
Messages
6,171,113
Members
452,381
Latest member
Nova88

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