GoodQuestions7
New Member
- Joined
- May 31, 2015
- Messages
- 1
This formula worked only for the undesired words AFTER the street name.
=LEFT(A1,FIND(" ",A1,MIN(SEARCH({"street", "road","st ","ave","rd"}, A1&"streetroadst averd")))-1)
But what if there's like unwanted words BEFORE and AFTER the street name like this:
N1-Florida # 4214 Main Street Floor 12
N2-California # 213 Main Road Building 1
N3-San Diego # 2135 Main Street Suite 3
Is it possible to get the below output using the same pattern of the formula above?
Expected Output:
4214 Main Street
213 Main Road
2135 Main Street
Thank you.
=LEFT(A1,FIND(" ",A1,MIN(SEARCH({"street", "road","st ","ave","rd"}, A1&"streetroadst averd")))-1)
But what if there's like unwanted words BEFORE and AFTER the street name like this:
N1-Florida # 4214 Main Street Floor 12
N2-California # 213 Main Road Building 1
N3-San Diego # 2135 Main Street Suite 3
Is it possible to get the below output using the same pattern of the formula above?
Expected Output:
4214 Main Street
213 Main Road
2135 Main Street
Thank you.
Last edited: