Hi SME,
I have a list of County, City, State, and Zip Code. I need to bifurcate the list into two categories - one based on one zip code mapping to one city (or same city with multiple zip codes) and the other on one zip code mapping to multiple cities.
For example, in the first category, I would have the following:
| OTM | One city to many zip codes |
| 95916 | Berry Creek |
| 94511 | Bethel Island |
| 90209 | Beverly Hills |
| 90210 | Beverly Hills |
| 90211 | Beverly Hills |
| 90212 | Beverly Hills |
| 90213 | Beverly Hills |
| 96009 | Bieber |
| 96010 | Big Bar |
In the second category, I would have the following:
| MTM | One zip code to many cities |
| 91748 | Rowland Heights |
| | City of Industry |
| | La Puente |
| 96089 | Summit City |
| | Shasta Lake |
| 91390 | Santa Clarita |
| | Agua Dulce |
| | Canyon Country |
| | Green Valley |
I attempted to do this in a number of ways but always ended up finding exceptions. Could somebody please help me figure out a better way to do this so that it's clean? Appreciate your help.
Thanks,
kwl