duteberta
Board Regular
- Joined
- Jun 14, 2009
- Messages
- 92
- Office Version
- 365
- Platform
- MacOS
Given the cell A1 with the contents being "5519 Old Barn Dr."
What formula would get just "Old Barn"?
I have tried other formulas such as
=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",200)),200,(1*(MIN(IFERROR(FIND({" NW "," NE "," SW "," SE "," N "," E "," W "," S "},A1),100))<100)+1)*200))
But all I get is "Old".
But I cannot find just 1 formula to rule satisfy most all street addresses. The above formula does not take into consideration two-word street names.
What formula would get just "Old Barn"?
I have tried other formulas such as
=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",200)),200,(1*(MIN(IFERROR(FIND({" NW "," NE "," SW "," SE "," N "," E "," W "," S "},A1),100))<100)+1)*200))
But all I get is "Old".
But I cannot find just 1 formula to rule satisfy most all street addresses. The above formula does not take into consideration two-word street names.