+ Reply to Thread
Results 1 to 3 of 3

Calculate Distance using Google Maps

  1. #1
    Registered User
    Join Date
    11-06-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    19

    Exclamation Calculate Distance using Google Maps

    Hello Everyone,

    I am trying to calculate the distance between two cities in excel using google maps. IS this something that can be done ? Please advice.

    Here is an example of what I am trying to do.

    Address 1 Address 2 Miles
    Atlanta Dallas 1000
    Houston Laredo 200

    So basically I need a function in column 3(miles) which calculates the distance between address 1 and address 2.
    Do I need to write a macro for that or can this be done simply by adding a new function in the cell ? Please advice.

    I appreciate your help.

    Thanks
    Jay
    Last edited by excelinexcel7; 12-06-2012 at 06:24 PM.

  2. #2
    Registered User
    Join Date
    12-06-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Calculate Distance using Google Maps

    It might be possible. You must first change the address to a number. Using google maps, right click on the address and get the Lat/Long. Using the Latitude/Longitude, and the basic navigation formula, Distance = Change of longitude * Cosine (Latitude).

  3. #3
    Registered User
    Join Date
    11-06-2012
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Calculate Distance using Google Maps

    Thanks ! The problem is I have around 500 origin destination pairs. It would be a lot of manual work to get all the lattitudes and longitudes from google maps. Is there a simpler way to do that ?

    Thanks
    Jay

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1