steveh1873
New Member
- Joined
- Aug 28, 2014
- Messages
- 17
Hi All,
I have a scenario where I have made a County/Country generator based upon an input cell's text (which in this case is partial Postcodes e.g. LU1, MK11...etc) using the formula
=INDEX($A$2:$A$2873,MATCH(E2,$B$2:$B$2873,))
where
$A$2:$A$2873 = List of Counties
E2 = My input text cell
$B$2:$B$2873 = List of Partial Postcodes (LU1, MK1....)
The issue I have is, is that this only works when the exact match occurs (LU1, MK11...etc) but what I need is for the formula to pick up the partials (LU1, MK11...etc) when a full Postcode is entered (e.g. LU18NP). Another little caveat is that the postcode list in the table has either 3 or 4 characters.
Is someone able to assist me in tweaking the formula to complete the job that is needed.
I have a scenario where I have made a County/Country generator based upon an input cell's text (which in this case is partial Postcodes e.g. LU1, MK11...etc) using the formula
=INDEX($A$2:$A$2873,MATCH(E2,$B$2:$B$2873,))
where
$A$2:$A$2873 = List of Counties
E2 = My input text cell
$B$2:$B$2873 = List of Partial Postcodes (LU1, MK1....)
The issue I have is, is that this only works when the exact match occurs (LU1, MK11...etc) but what I need is for the formula to pick up the partials (LU1, MK11...etc) when a full Postcode is entered (e.g. LU18NP). Another little caveat is that the postcode list in the table has either 3 or 4 characters.
Is someone able to assist me in tweaking the formula to complete the job that is needed.