Could do with a bit of help as this beyond my ability.
I have a table of 14 Postcode Zones (2.5k lines) which range from 2 to 4 chars as below:
We have another sheet where a full delivery postcode is keyed in as per below
What I want to do is take that postcode and find the Zone automatically, the complexity I'm struggling with is the varying number of chars on the initial part of the postcode.
Due to this I can't use LEFT to strip out what I need, the use a VLOOKUP as it won't work everytime.
Any advice would be appreciated.
I have a table of 14 Postcode Zones (2.5k lines) which range from 2 to 4 chars as below:
Code:
Zone 1 DN1
Zone 1 DN11
Zone 1 DN12
Zone 1 DN2
Zone 1 DN4
Zone 1 DN5
Zone 1 DN6
Zone 1 HD8
Zone 1 S1
We have another sheet where a full delivery postcode is keyed in as per below
Code:
POSTCODE
DY4 7AB
What I want to do is take that postcode and find the Zone automatically, the complexity I'm struggling with is the varying number of chars on the initial part of the postcode.
Due to this I can't use LEFT to strip out what I need, the use a VLOOKUP as it won't work everytime.
Any advice would be appreciated.