Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

How to assign country based off list of either provinces or states?

$
0
0

I have a list of names and locations. Most of the locations include the name of the province or state. Some only include country names, some include state abbreviations.
I also have a list of provinces and states and which country they belong to, with common abbreviations.

How do I search the text of the Location column B for an inexact match, referencing the names of the states E:H, and return the Country that they belong to column C?

Screenshot of example data


Viewing all articles
Browse latest Browse all 9782

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>