How do I split an address list that has NO consistency

SquillyFish

New Member
Joined
Sep 3, 2014
Messages
1
Hello clever excel people,


Please can you help me. I have pulled data from a website that needs to be sorted and cleaned then loaded into our shiny brand new website.
The address part of the data is a nightmare.
So far I have managed to split PO Boxes from physical addresses, but now I am stuck.
This is the sort of layout I am trying to split into


PO Box *** |Suburb | CITY | postal code


The current data looks like this:


"PO Box 90948
Victoria Street, West
Auckland, 1142"




"PO Box 1565
Queenstown"
"PO Box 11169
Ellerslie




Auckland, 1542"
PO Box 87550




Meadowbank












Auckland, 1743












As you can see, some will use all 4 columns, some will not. There are 'some' commas, and some spaces, and some tabs but a lot that are not spaced at all. A lot are written like this : PO Box1234AucklandWellesleySt, Auckland1010


Thank you in advance for any help.


Kind Regards
Squilly
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,215,734
Messages
6,126,542
Members
449,316
Latest member
sravya

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