![]() |
what is a good/best formula to extract the 3rd last word in cell A1 into cell C1
My example/problem"
A1 "1167 Belle Plaine Ave. Gurnee IL 60031" C1 I want: "Gurnee" Thanks in advance. Sincerely, Kevin Waite |
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 |
what is a good/best formula to extract the 3rd last word in cell A1 into cell C1
http://www.cpearson.com/excel/excelF.htm#Words
Chip Pearson's formulas on extracting words from a string. -- Regards, Tom Ogilvy "Kevin Waite" wrote in message 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 |
All times are GMT +1. The time now is 08:13 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com