Adding A space between an item:

raffi74

New Member
Joined
Mar 6, 2002
Messages
8
I would like to add a space between "2236cwestcoast"
I want it to look like "2236 c westcoast"
Is this possible? Ican't seem to find anything in excel. Thanks for your help in advance...
Dave
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
On 2002-03-07 10:48, raffi74 wrote:
I would like to add a space between "2236cwestcoast"
I want it to look like "2236 c westcoast"
Is this possible? Ican't seem to find anything in excel. Thanks for your help in advance...
Dave

Do you have more entries all with the same structure as the example you give ("2236 c westcoast")?
 
Upvote 0
I do have other entries that have the same structure.Also I have other entries with a different structure (with out the "c"
eg..2210westcoast
eg..2210cwestcoast
on the first item I would like to take the left 4 characters.On the second item I would like to take the left 6 charaters after succesfully inserting a space"2210 c westcoast" Thanks again
 
Upvote 0
=TRIM(REPLACE(SUBSTITUTE(A1,"westcoast"," westcoast"),5,0," "))

where A1 contains your text string.
This message was edited by Mark W. on 2002-03-07 11:16
 
Upvote 0

Forum statistics

Threads
1,213,543
Messages
6,114,236
Members
448,555
Latest member
RobertJones1986

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