How to separate bad data entry addresses from one cell to multiple cells

steve5740

New Member
Joined
Jan 10, 2016
Messages
14
Examples:
GREENBRIAR MALL 1712 RING RD CHESAPEAKE VA 23320
101 N. HIGHWAY 274 HWY 175 @ HWY 274 KEMP TX 75143-0000
229 NORTH SEVEN POINTS RT. #8 - BOX 925 SEVEN POINTS TX 75143-0000
3223 LEMMON AVE #100 DALLAS TX 75204
8001 WESTERN HILLS BLVD FORT WORTH TX 76108

Hello -

I have a spreadsheet with addresses in one column, and need to separate the data by address, city, state and zip code. Because the data is different lengths, including 2 word cities, it has been difficult to develop a successful formula and text to column does not help. Any suggestions would be helpful.
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Examples:
GREENBRIAR MALL 1712 RING RD CHESAPEAKE VA 23320
101 N. HIGHWAY 274 HWY 175 @ HWY 274 KEMP TX 75143-0000
229 NORTH SEVEN POINTS RT. #8 - BOX 925 SEVEN POINTS TX 75143-0000
3223 LEMMON AVE #100 DALLAS TX 75204
8001 WESTERN HILLS BLVD FORT WORTH TX 76108

Hello -

I have a spreadsheet with addresses in one column, and need to separate the data by address, city, state and zip code. Because the data is different lengths, including 2 word cities, it has been difficult to develop a successful formula and text to column does not help. Any suggestions would be helpful.

I have tried the following but it does not help with 2 word cities. How do I adjust the formula?
8001 WESTERN HILLS BLVD FORT WORTH TX 76108
Cell B2 =TRIM(SUBSTITUTE(A2,D2&" "&E2,""))
Cell C2 =TRIM(RIGHT(SUBSTITUTE(SUBSTITUTE(A2," "&E2,"")," ",REPT(" ",50)),50))
Cell D2 =TRIM(RIGHT(SUBSTITUTE(A2," ",REPT(" ",50)),99))
 
Upvote 0

Forum statistics

Threads
1,214,987
Messages
6,122,614
Members
449,091
Latest member
gaurav_7829

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