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

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
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,214,918
Messages
6,122,243
Members
449,075
Latest member
staticfluids

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