Hello All!
I've been looking all over the internet but I haven't found the answer to my excel challenge yet. Basically what formula I require can be best explained with this example:
I have a row where I have adresses from all over the world. Like shown below:
FILE1:
Row 1
No.76 Kexue Ave. Zhengzhou High&New Technology Industries Development Zone, Zhengzhou, 450001 - China
478 Industrial Park Rd., Berlin, WI, 54956 - USA
Paterson, NJ, 07524-1112 - USA
(I highlighted the partI want to vlookup later in BOLD)
I have a second file, a database, with all cities from all over the world and I want to vlookup values there according to the city. Here an extract of my file
FILE2:
Row 1 | Row 2 | Row 3
Country | City | vlookup value I want
China - Zhengzhou - x8555
Germany - Berlin - b1858
USA - Berlin - KVG
USA - Paterson - 23213
USA - New York - ZHB
...
So basically what I need to do is vlookup the city in that cell that contains plenty of other information like zip codes etc.
My formula was:
=VLOOKUP("*"&A1&"*";Table in File 2;3;false)
Somehow this doesnt work?!
Second challenge is that city names are not unique, as you can see it with the example of "Berlin". I guess I could need to add the country code and combine it with the city, then lookup that value like:
USA-478 Industrial Park Rd., Berlin, WI, 54956 - USA
I hope my explanation was accurate enough... Do not hesitate to ask questions
Last but not least Text to column in FILE 1 is not and option (to isolate the city) because the setup for every country is diffrent and I have 200 diffrent countries...
Thanks very much!!
regards
Bookmarks