=CityNameWithCountyWS takes a location and returns the city name with state and county. 


Syntax

=CityNameWithCountyWS(location)


Arguments

Argument
Description 
Required?
Values
location
A location for which you want to retrieve the city name with state and county.
yes
A geocodable location in the PC*MILER database. Learn more about how to enter PC*MILER locations.

Examples:
Princeton, NJ

08540

M4C 4Y7
40.420833N,74.561111W
new york, ny;118 broadway
191690000

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).