richmcgill
Board Regular
- Joined
- Feb 4, 2019
- Messages
- 87
- Office Version
- 2016
- Platform
- Windows
I need to clean up the addresses in our database and I want to use the USPS address abbreviation matrix to help accomplish this.
There are two scenarios.
1. I need in a new cell using the USPS matrix (a sample of the options is below) replace the word matches. Street would become ST.
2. The second issue is I have a lot of addresses with apartment numbers or unit numbers but I need to pull those out. Apartment is always defined in the address as APT. Unit is always defined as Unit. I just need to pull these away from the address.
Make sense?
Any help is appreciated.
USPS matrix
There are two scenarios.
1. I need in a new cell using the USPS matrix (a sample of the options is below) replace the word matches. Street would become ST.
2. The second issue is I have a lot of addresses with apartment numbers or unit numbers but I need to pull those out. Apartment is always defined in the address as APT. Unit is always defined as Unit. I just need to pull these away from the address.
Make sense?
Any help is appreciated.
Scenario 1 | ||
Address | ||
122 Man Street | 122 Main St | |
568 Main Boulevard | 568 Main BLVD | |
Scenario 2 | ||
235 Main St Apt 15 | 235 Main St | Apt 15 |
555 Main St Unit 25 | 555 Main St | Unit 25 |
USPS matrix
Street Suffix | Abbreviation |
ALLEY | ALY |
ANEX | ANX |
ARCADE | ARC |
AVENUE | AVE |
BAYOU | BYU |