xcellrodeo
Board Regular
- Joined
- Oct 27, 2008
- Messages
- 209
Hello Mr Excel Community, I would like to ask for help with finding a suitable VBA Script to achieve the following:
Description of Problem:
In Tab called 'Addresses', I have a list of Addresses in Column A (2000 Rows) which take the format of something like this: 'Flat 1 Main Street Brooks London'.
This address string, namely the flat nr, street name, district name and town are all contained in one cell and have only a space as separator.
In Tab called 'Districts', I have a list of 70 District names in Column A (70 Rows).
Result: What I would like to do is to delete all the Districts in the text strings in 'Addresses' sheet in Col. A which are based on the List found in the 'Districts' tab.
So for example, if in Tab 'Addresses', a text string says 'Flat 1 Main Street Brooks London', and the District 'Brooks' is found in the 'Districts' tab, I want it removed from the text string in the Tab 'Addresses'.
Hope this makes sense.
Thanks for any suggestions.
++Please note that above address is a fictitious address and not part of list++
Description of Problem:
In Tab called 'Addresses', I have a list of Addresses in Column A (2000 Rows) which take the format of something like this: 'Flat 1 Main Street Brooks London'.
This address string, namely the flat nr, street name, district name and town are all contained in one cell and have only a space as separator.
In Tab called 'Districts', I have a list of 70 District names in Column A (70 Rows).
Result: What I would like to do is to delete all the Districts in the text strings in 'Addresses' sheet in Col. A which are based on the List found in the 'Districts' tab.
So for example, if in Tab 'Addresses', a text string says 'Flat 1 Main Street Brooks London', and the District 'Brooks' is found in the 'Districts' tab, I want it removed from the text string in the Tab 'Addresses'.
Hope this makes sense.
Thanks for any suggestions.
++Please note that above address is a fictitious address and not part of list++