![]() |
Postal code to Area translation
I have some postal codes all in one column.
eg EN1 7IH, and N1 M33 I want to create a column where excel reads the first characters BEFORE the space, since those characters represent an Area. I want to be able to add the name of the postal code area in the new column. For example EN1 = Area1 and N1 = Area2 |
You will need to have a table set up in your work sheet with the post codes listed and a area allocated to each code, As in the UK there are over a hundred. Then you could use a LOOKUP or INDEX & MATCH etc.
EG: =VLOOKUP(LEFT(Cell/Ref,2),Your_Range,Column,0) Quote:
|
Quote:
|
Quote:
The below will look for all characters before the first space. =VLOOKUP(LEFT(CellRef,FIND(" ",CellRef)-1),Range,Column,0) |
EG = "EXAMPLE" !!
Quote:
|
Quote:
Yes, Kevin, I know what it means. But your EG was not going to do what the OP needed, so I stepped in with a better EG. |
All times are GMT +1. The time now is 10:36 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com