Pulling out Postcode from Address?

blairscott

New Member
Joined
Jun 11, 2015
Messages
4
Hello all,

First post:

I've been tasked with the long and laborious task of pulling out the postcodes of over 2000 addresses in excel. I'm trying to find a formula to help me with this. now the hard part is that the postcode doesn't always appear in the same position in the address.

for example one might read:
T.J. MORRIS LTD
AXIS BUSINESS PARK
EAST LANCS ROAD
GILLMOSS, LIVERPOOL
L11 0JA
UNITED KINGDOM

and another might be
BOOKER CASH & CARRY LTD
DC BRANCH NUMBER - 676
C/O GREGORY DISTRIBUTION LIMITED
UNIT 1, HIGHWOOD ROAD
PATCHWAY
BRISTOL
BS34 5DJ


Can anyone help with this? is this even possible? One think i was thinking is that most end with the postcode then United kingdom could there be away to pull out this ?

Regards
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
do these address all appear in 1 cell or across multiple cells?

for example is it:

CELL A1: BOOKER CASH & CARRY LTD
DC BRANCH NUMBER - 676
C/O GREGORY DISTRIBUTION LIMITED
UNIT 1, HIGHWOOD ROAD
PATCHWAY
BRISTOL
BS34 5DJ

or:

A1: BOOKER CASH & CARRY LTD
A2: DC BRANCH NUMBER - 676
A3: C/O GREGORY DISTRIBUTION LIMITED
A4: UNIT 1, HIGHWOOD ROAD
A5: PATCHWAY
A6: BRISTOL
A7: BS34 5DJ

?
 
Upvote 0
thats a shame.. lol
on different lines or all across the 1 line?

I would say you could sort text to columns and then filter each column and delete anything which isnt a postcode, still fairly mainly but no where near as manual as it could be
 
Upvote 0
i've pulled out the last two lines of the address and am just sorting it from there. still manual but as you say alot better than what it could have been

thanks
 
Upvote 0

Forum statistics

Threads
1,203,399
Messages
6,055,175
Members
444,767
Latest member
bryandaniel5

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