geordie_ben
Board Regular
- Joined
- Jul 27, 2009
- Messages
- 122
I've gotten a list of post codes and their counties.
This is how the data is presented:
[TABLE="class: wikitable sortable jquery-tablesorter"]
<thead>[TR]
[TH="class: headerSort, width: %2221%22, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=EAECF0]#EAECF0[/URL] , align: center"]Postcode area[/TH]
[TH="class: headerSort, width: %2221%22, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=EAECF0]#EAECF0[/URL] , align: center"]Postcode districts[/TH]
[TH="class: headerSort, width: %2221%22, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=EAECF0]#EAECF0[/URL] , align: center"]Post town[/TH]
[TH="class: headerSort, width: %2221%22, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=EAECF0]#EAECF0[/URL] , align: center"]Former postal county[/TH]
[/TR]
</thead><tbody>[TR]
[TD]AB[/TD]
[TD]AB10, AB11, AB12, AB15, AB16,
AB21, AB22, AB23, AB24, AB25,
AB99non-geo[/TD]
[TD]Aberdeen[/TD]
[TD]<small style="font-size: 11.9px;">(Aberdeenshire)</small>[/TD]
[/TR]
</tbody>[/TABLE]
I need to do some type of lookup (I think), where the first part of a full post code being AB22 would show Aberdeenshire
Is there a type of formula I could use to do this?
This is how the data is presented:
[TABLE="class: wikitable sortable jquery-tablesorter"]
<thead>[TR]
[TH="class: headerSort, width: %2221%22, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=EAECF0]#EAECF0[/URL] , align: center"]Postcode area[/TH]
[TH="class: headerSort, width: %2221%22, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=EAECF0]#EAECF0[/URL] , align: center"]Postcode districts[/TH]
[TH="class: headerSort, width: %2221%22, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=EAECF0]#EAECF0[/URL] , align: center"]Post town[/TH]
[TH="class: headerSort, width: %2221%22, bgcolor: [URL=https://www.mrexcel.com/forum/usertag.php?do=list&action=hash&hash=EAECF0]#EAECF0[/URL] , align: center"]Former postal county[/TH]
[/TR]
</thead><tbody>[TR]
[TD]AB[/TD]
[TD]AB10, AB11, AB12, AB15, AB16,
AB21, AB22, AB23, AB24, AB25,
AB99non-geo[/TD]
[TD]Aberdeen[/TD]
[TD]<small style="font-size: 11.9px;">(Aberdeenshire)</small>[/TD]
[/TR]
</tbody>[/TABLE]
I need to do some type of lookup (I think), where the first part of a full post code being AB22 would show Aberdeenshire
Is there a type of formula I could use to do this?