Hello again,
I've got roughly 12,000 address without zip codes and I need to lookup all of these codes manually to get the job done. I don't want to waste Thousands of hours to do it either.
I have Address, City, and State. I just need Zip.
Doing this manually from http://zip4.usps.com/zip4/welcome.jsp takes hours.
I found this write up, but it doesn't work from Excel, because it's for Google Docs.
Hard to do in Excel. Would need to call a Web Service using SOAP toolkit, or use Visual Studio. One must wonder what MS is thinking...
Much easier to do in Google Docs Spreadsheet, then export to Excel:
can use GeoCoder.ca's XML web service to look up the zip code by address. In Google docs, you would use this function:
=importXML("http://geocoder.ca/?geoit=xml&showpostal=1&locate=" & A2,"//postal")
where A2 is the street address
you can also get the latitude and longitude this way:
=importXML("http://geocoder.ca/?geoit=xml&showpostal=1&locate=" & A2,"//geodata")
Please note that GeoCoder has a throttle on requests per day for their free service.
Bookmarks