Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

remove space in excel data 2

Status
Not open for further replies.

leyland

Technical User
Nov 21, 2002
10
0
0
Hi
I have several phone numbers in the form of 01228 4554388. I want to remove the space and hence have another column with 012284554388 in. How can I do that in excel?

thanks in advance

 


Hi,

Edit>Replace

Skip,
[sub]
[glasses] [red]Be Advised![/red] The only distinction between a bird with one wing and a bird with two, is merely...
a difference of A Pinion! [tongue][/sub]
 
Seeing how these are phone numbers, they should always contain the same number of digits. Because of that, this will work:
=left(A1,5)&right(a1,7)

[tab]or you could use this:
=Substitute(A1," ","")

There are many other ways as well

[tt]_____
[blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ181-2886 before posting.
 
many thanks for your help guys!!!!!!!!!!!1
 
Nice solutions, Skip and Zack.

->
star.gif
s from me

[tt]_____
[blue]-John[/blue][/tt]
[tab][red]The plural of anecdote is not data[/red]

Help us help you. Please read FAQ181-2886 before posting.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top