=CityNameWS returns the city name and state or country abbreviation corresponding to the given ZIP or postal code. The country must be specified.


Syntax

=CityNameWS(ZIPcode)


Arguments

ArgumentDescriptionRequired?Values
locationThe ZIP/Postal Code or SPLC for which you are trying to retrieve a city name.yesA ZIP/Postal Code or SPLC

Examples:
80903
191690000
H3B 1A2
countriesThe country or countries where the origin and destination are located.Not required but recommended for the most accurate geocoding and best performance.A two-letter country code
regionThe region of the world where the origin and destination are located.
Not required but recommended for the most accurate geocoding and best performance.
Region Codes are NA (North America), EU (Europe), AS (Asia), AF (Africa), SA (South America), OC (Oceania), MX (Mexico), ME (Middle East), and WW (Worldwide).