Dear Friends
In my office, I have to consolidate the data sent by different townships. The name of towns in these field data are inconsistent. I have to correct these town name into standard one.
At this point I have written a macro (find then replace). My current macro is, I think, only good for few towns. When the error of those towns name is hundreds, I think should rather look up from a table.
I will create a table for towns.
ColumnA ColumnB
Lonodn London
Londno London
Lodon London
NewYork New York
Nwe York New York
Parsi Paris
Piars Paris
Pasri Paris
Tokoy Tokyo
Tooky Tokyo
... ...
... ...
In my table, ColumnA is wrong town names. ColumnB is right town name.
I want to get a macro for finding the names in columnA in my whole Excel Workbook, then replace with the correct names from ColumnB.
Can somebody help me please?
Thanks in advance.
Sai
In my office, I have to consolidate the data sent by different townships. The name of towns in these field data are inconsistent. I have to correct these town name into standard one.
At this point I have written a macro (find then replace). My current macro is, I think, only good for few towns. When the error of those towns name is hundreds, I think should rather look up from a table.
I will create a table for towns.
ColumnA ColumnB
Lonodn London
Londno London
Lodon London
NewYork New York
Nwe York New York
Parsi Paris
Piars Paris
Pasri Paris
Tokoy Tokyo
Tooky Tokyo
... ...
... ...
In my table, ColumnA is wrong town names. ColumnB is right town name.
I want to get a macro for finding the names in columnA in my whole Excel Workbook, then replace with the correct names from ColumnB.
Can somebody help me please?
Thanks in advance.
Sai