Hi
I was wondering if somebody could point me in the right direction: I am frequently receiving large spreadsheets of customer information (1000 - 5000 rows) - beginning with their postcode in column A. I was wondering if it is possible to automatically replace the postcode with the town, for example:
replace 'EH01, EH02, EH03' with 'Central Edinburgh'
replace 'EH04, EH05, EH06' with 'South Edinburgh' etc.
One potential problem is that, although the postcode prefixes are always the same, they are sometimes followed by other information, for example, some cells will say 'EH01 2HH' and some will say 'EH01 3FG lothian'. The second part of the postcode and any other information is irrelevant - I would want to replace any postcode beginning 'EH01' with 'Central Edinburgh'
Also as I don't know in advance of receiving the spreadsheet what postcodes are going to be contained in it, could I enter some information on sheet 2 about which postcodes I would I would like to replace with which town names, and use this? For example - on sheet 2:
A1 central edinburgh
A2 EH01
A3 EH02
A4 EH04
B1 south edinburgh
B2 EH04
B3 EH05
B4 EH06
Any help / pointers with this would be greatly appreciated. Thanks
Rich
I was wondering if somebody could point me in the right direction: I am frequently receiving large spreadsheets of customer information (1000 - 5000 rows) - beginning with their postcode in column A. I was wondering if it is possible to automatically replace the postcode with the town, for example:
replace 'EH01, EH02, EH03' with 'Central Edinburgh'
replace 'EH04, EH05, EH06' with 'South Edinburgh' etc.
One potential problem is that, although the postcode prefixes are always the same, they are sometimes followed by other information, for example, some cells will say 'EH01 2HH' and some will say 'EH01 3FG lothian'. The second part of the postcode and any other information is irrelevant - I would want to replace any postcode beginning 'EH01' with 'Central Edinburgh'
Also as I don't know in advance of receiving the spreadsheet what postcodes are going to be contained in it, could I enter some information on sheet 2 about which postcodes I would I would like to replace with which town names, and use this? For example - on sheet 2:
A1 central edinburgh
A2 EH01
A3 EH02
A4 EH04
B1 south edinburgh
B2 EH04
B3 EH05
B4 EH06
Any help / pointers with this would be greatly appreciated. Thanks
Rich