bluepenink
Well-known Member
- Joined
- Dec 21, 2010
- Messages
- 585
Hello
Ive managed to be able to extract the second string or word in a certain cell
i.e. 5 Atlanta-Charleston
I used the following formualt to get: Atlanta-Charleston
=MID(SUBSTITUTE(E42," ","^",LEN(E42)-LEN(SUBSTITUTE(E42," ",""))),FIND("^",SUBSTITUTE(E42," ","^",LEN(E42)-LEN(SUBSTITUTE(E42," ",""))))+1,256)
where E42 = 5 Atlanta-Charleston
my PROBLEM i run into, is when i the city name changes to i.e.
7 Houston-Austin-San Antonio-Albur
or
4 Wichita-Oklahoma City
Basically, i want to replace the first character i.e. the # and just get the text string...can someone pls help!
cheers
Ive managed to be able to extract the second string or word in a certain cell
i.e. 5 Atlanta-Charleston
I used the following formualt to get: Atlanta-Charleston
=MID(SUBSTITUTE(E42," ","^",LEN(E42)-LEN(SUBSTITUTE(E42," ",""))),FIND("^",SUBSTITUTE(E42," ","^",LEN(E42)-LEN(SUBSTITUTE(E42," ",""))))+1,256)
where E42 = 5 Atlanta-Charleston
my PROBLEM i run into, is when i the city name changes to i.e.
7 Houston-Austin-San Antonio-Albur
or
4 Wichita-Oklahoma City
Basically, i want to replace the first character i.e. the # and just get the text string...can someone pls help!
cheers