Using Google Sheets Addon

In this guide, we'll walk you through the simple setup process to get you started on geocoding addresses directly within your Google Sheets, no coding knowledge required. Whether you are a spreadsheet novice or a seasoned pro, you'll find transforming addresses into coordinates has never been this easy.

Ready to save time? Let’s get started!

Step 1: Create a Copy for Editing Access

To get started, follow these steps to ensure you have the necessary permissions to edit the Google Sheet:

  1. Open this Google Sheet.
  2. Navigate to the File menu situated at the top left corner of the screen.
  3. From the dropdown menu, select Make a copy. Please note that downloading the sheet won't yield the desired functionality, as the underlying functions need to operate smoothly.
  4. A pop-up window will appear, indicating that the Apps Script file will be duplicated. This duplication is crucial for the proper functioning of the sheet.
  5. Congratulations! A duplicate of the template has now been created in your personal Google Drive.
  6. You are now free to edit the sheet and input coordinates or addresses into your own copy.

Step 2: Activate the LocationIQ Plugin

Activating the LocationIQ plugin within the Google Sheet is the next essential step:

  1. Confirm that you have Edit access to the sheet, as outlined in Step 1.
  2. Locate the LocationIQ tab in the top menu. Please allow a moment for it to appear; it should be visible after the "Help" option.
  3. Choose Settings from the dropdown menu.
  4. A pop-up from Google Sheets will request authorization. Click Continue to proceed.
  5. Sign in using your Google account and grant the necessary access. If you encounter a warning stating "Google hasn't verified this app," click Advanced followed by "Go to LocationIQ (unsafe)."
  6. Register for an account with LocationIQ at www.locationiq.com and obtain your Access Token. A quick guide on this process is available here.
  7. Return to the sheet and once again select Settings from the dropdown menu.
  8. Input your obtained access token in the designated API Key box.

Congratulations! With the document duplicated and permissions configured, you are now equipped to execute geocoding and reverse geocoding operations.

Step 3: Reverse Geocode

To convert coordinates to addresses within the Google Sheet:

  1. Navigate to the sheet titled Reverse Geocoding.
  2. Paste latitude values in Column A and longitude values in Column B.
  3. Select the LocationIQ tab from the dropdown menu and opt for Reverse Geocode.

Step 4: Forward Geocode

  • Switch to the sheet named Forward Geocoding
  • Paste the entire address in Column A
  • Recommend address format is (house_number), (street), (neighbourhood), (city), (state), (country), (postcode)
  • Select the LocationIQ tab from the Drop-down and choose Geocode