![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 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 |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Quote:
|
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 8
|
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 |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Austin, Texas USA
Posts: 11,654
|
=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 ] |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|