Hi,
I have the following situation:
In cell A1 to A10 there are names like London, Chicago, Brussels. In the cells B1 to B10 there is a code corresponding to each word. So London corresponds with 1, Chicago with 2, Brussels with 3 etc ...
I have a list from F1 to F100 where the cities are listed randomly. I need to search through the entire list from F1 to F100 and replace each word with the corresponding code.
Can I run this in a macro??
Problem is that the word in the cells A1 to A10 can change, also the corresponding code can change. So I always need to work with the cell number and never with the cel value.
Thanks for your help,
I have the following situation:
In cell A1 to A10 there are names like London, Chicago, Brussels. In the cells B1 to B10 there is a code corresponding to each word. So London corresponds with 1, Chicago with 2, Brussels with 3 etc ...
I have a list from F1 to F100 where the cities are listed randomly. I need to search through the entire list from F1 to F100 and replace each word with the corresponding code.
Can I run this in a macro??
Problem is that the word in the cells A1 to A10 can change, also the corresponding code can change. So I always need to work with the cell number and never with the cel value.
Thanks for your help,