Extracting Only Street Name from Addresses

haulinoats

New Member
Joined
Jun 7, 2016
Messages
6
I am trying to perform an analysis in excel to determine which addresses may potentially the same. I'd like to extract only the street address (without the street suffix) into a new column.

Data:
541 153RD ST
541 153RD ST APT 1
123 ROOSEVELT AVE # A
123 ROOSEVELT AVE
123 NW 4TH PL
123 NW 4TH PL

<colgroup><col></colgroup><tbody>
</tbody>

Current formulas:

Column B: =MID(S2,FIND(" ",S2)+1,50) - Result: 153RD ST
Column C: =LEFT(T2,FIND(" ",T2)-1) - Final Result: 153rd

Although this works well, my 3rd street address above (123 NW 4th PL) only extracts the NW instead of NW 4TH. I know there is probably a way to extract the entire street name for this scenario, but am struggling to do so.
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
If all the strings have similar structure to the ones you have provided, download into column B the USPS abbreviations of street names (+ full names, if needed), and use the formula in C1:
Excel Workbook
ABC
1541 153RD STAVE153RD
2541 153RD ST APT 1ST153RD
3123 ROOSEVELT AVE # APLROOSEVELT
4123 ROOSEVELT AVEROOSEVELT
5123 NW 4TH PLNW 4TH
6123 NW 4TH PLNW 4TH
7555 BOSTON STBOSTON
Sheet
 
Upvote 0
Thanks István. This actually worked perfectly.

Since I'm dealing with thousands of addresses, I found that it'd be easier if I could write a formula that ignores the first street name when it's a direction (E, W, N, S, NW, NE, SE, SW) rather than relying on the USPS list of street suffixes (there are quite a few addresses that may not end with a USPS defined street suffix).

Meaning, in the example "123 NW 4TH PL," the formula will pull "NW 4TH" because it recognizes the 1st word as a directional word.
 
Upvote 0
Please show us a table with strings of different kind with the expected result (produced manually) according to the new conception.
 
Upvote 0
Data:
541 W 153RD ST
541 W 153RD ST APT 1
123 E ROOSEVELT AVE # A
123 E ROOSEVELT AVE
123 NW 4TH PL
123 NW 4TH PL

897 SE WASHINGTON ST

123 SD WASHINGTON ST

Find (Directional Fields):
"N, E, W, S, NE, NW, SE, SW"

<tbody>
</tbody>


Result:

W 153RD
E ROOSEVELT
E ROOSEVELT
NW 4TH
NW 4TH

SE WASHINGTON

SD

<tbody>
</tbody>
 
Upvote 0
I wanted to leave SD Washington as SD because I only want to account for directional words.

The directional words I want to look out for are:

N - North
E - East
W - West
S - South
NW - Northwest
NE - Northeast
SW - Southwest
SE - Southeast

Since "SD" isn't a directional word, I am okay with the address only extracting SD rather than "SD Washington."
 
Upvote 0
Give this formula a try (confirm with Ctrl -Shift -Enter):

=TRIM(MID(SUBSTITUTE(A1," ",REPT(" ",200)),200,(1*(MIN(IFERROR(FIND({" NW "," NE "," SW "," SE "," N "," E "," W "," S "},A1),100))<100)+1)*200))
 
Upvote 0
I thought this one worked, but it looks like it didn't convert it for some:

Example:
2411 W BRYN MAWR AVE = "W" instead of "W BRYN"

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,214,657
Messages
6,120,775
Members
448,991
Latest member
Hanakoro

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top