Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have several hundred cells of postcode sector data in a column from which I
need to remove the first internal space but not the second. Is there an automatic way to do this? eg "SL 1 1" needs to be "SL1 1" |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way, using a helper cell with a formula.
=REPLACE(A1&" ",SEARCH(" ",A1&" "),1,"") And drag down as far as you need. JDUK wrote: I have several hundred cells of postcode sector data in a column from which I need to remove the first internal space but not the second. Is there an automatic way to do this? eg "SL 1 1" needs to be "SL1 1" -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you
"Dave Peterson" wrote: One way, using a helper cell with a formula. =REPLACE(A1&" ",SEARCH(" ",A1&" "),1,"") And drag down as far as you need. JDUK wrote: I have several hundred cells of postcode sector data in a column from which I need to remove the first internal space but not the second. Is there an automatic way to do this? eg "SL 1 1" needs to be "SL1 1" -- Dave Peterson |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUBSTITUTE(D1," ","",1)
"JDUK" wrote: I have several hundred cells of postcode sector data in a column from which I need to remove the first internal space but not the second. Is there an automatic way to do this? eg "SL 1 1" needs to be "SL1 1" |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you - very helpful
"Teethless mama" wrote: =SUBSTITUTE(D1," ","",1) "JDUK" wrote: I have several hundred cells of postcode sector data in a column from which I need to remove the first internal space but not the second. Is there an automatic way to do this? eg "SL 1 1" needs to be "SL1 1" |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You're Welcome!
"JDUK" wrote: Thank you - very helpful "Teethless mama" wrote: =SUBSTITUTE(D1," ","",1) "JDUK" wrote: I have several hundred cells of postcode sector data in a column from which I need to remove the first internal space but not the second. Is there an automatic way to do this? eg "SL 1 1" needs to be "SL1 1" |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Remove spaces phonenumbers | Excel Discussion (Misc queries) | |||
How can i remove spaces? | Excel Discussion (Misc queries) | |||
how do I remove leading spaces and leave the remianing spaces w | Excel Worksheet Functions | |||
How do I remove spaces | Excel Discussion (Misc queries) | |||
Remove spaces between words | Excel Discussion (Misc queries) |