what is a good/best formula to extract the 3rd last word in cell A1 into cell C1
Hi Kevin
using two helper columns (to make the formulas not that complicated)
try
B1:
=SUBSTITUTE(SUBSTITUTE(A1," ","#",LEN(A1)-LEN(SUBSTITUTE(A1,"
",""))-2)," ","^",LEN(A1)-LEN(SUBSTITUTE(A1," ",""))-2)
C1:
=MID(B1,FIND("#",B1)+1,FIND("^",B1)-FIND("#",B1)-1)
--
Regards
Frank Kabel
Frankfurt, Germany
"Kevin Waite" schrieb im Newsbeitrag
news:nHAcc.84942$JO3.44011@attbi_s04...
My example/problem"
A1
"1167 Belle Plaine Ave. Gurnee IL 60031"
C1
I want:
"Gurnee"
Thanks in advance.
Sincerely,
Kevin Waite
|