what is a good/best formula to extract the 3rd last word in cell A1 into cell C1

  • Thread starter Thread starter Kevin Waite
  • Start date Start date
K

Kevin Waite

My example/problem"

A1
"1167 Belle Plaine Ave. Gurnee IL 60031"

C1
I want:
"Gurnee"


Thanks in advance.

Sincerely,
Kevin Waite
 
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)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top