Before we dive in to the tutorial ...
Please note that if your spreadsheet geocoding needs are more complex, or you'd just generally like someone else to solve this for you, we recommend you work with our friends at Love Spreadsheets, who will gladly use our API to do the geocoding for you.Ok, ready?
You can use the OpenCage geocoder inside Microsoft Excel to convert a list of coordinates to placenames (reverse geocoding) or placenames/addresses to coordinates (forward geocoding).
- register for an OpenCage Geocoder API key
- Download and install the OpenCage Excel Add-in.
Once installed the add-in enables to new formulas
=RGEOCODEfor reverse geocoding, and
=FGEOCODEfor forward geocoding notice that the parameters are slightly different for the two functions.
- Within the Add-in you'll find detailed examples in the "Examples" sheet
- Before either command will work you will need to enter your OpenCage Geocoder API key in the "Get Started" sheet.