+ Reply to Thread
Results 1 to 6 of 6

Calculate distance of latitude/longitude points

  1. #1
    Forum Contributor
    Join Date
    03-16-2010
    Location
    Phnom Penh, Cambodia
    MS-Off Ver
    Excel 2003
    Posts
    215

    Calculate distance of latitude/longitude points

    Hi,

    I have the longitude and latitude as below. I want to calculate the distance from A to B. With Excel, are there any formulars to do so? Please advice.

    Longitude Latitude
    A: 103.27686400 13.61228700
    B: 102.56800000 13.68700000

    Thanks you very much for your time.

    sanlen

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Calculate distance of latitude/longitude points

    Are you comfortable using a UDF?
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Forum Contributor
    Join Date
    03-16-2010
    Location
    Phnom Penh, Cambodia
    MS-Off Ver
    Excel 2003
    Posts
    215

    Re: Calculate distance of latitude/longitude points

    Quote Originally Posted by shg View Post
    Are you comfortable using a UDF?
    Sorry what is UDF? I dont know about this

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Calculate distance of latitude/longitude points

    VBA code that implements a user-defined function -- one that you can use on a worksheet as if it were a native Excel function.
    Last edited by shg; 12-08-2010 at 12:19 AM.

  5. #5
    Forum Contributor
    Join Date
    03-16-2010
    Location
    Phnom Penh, Cambodia
    MS-Off Ver
    Excel 2003
    Posts
    215

    Re: Calculate distance of latitude/longitude points

    Um... i dont think that i am at that level. I only have small concept on normal formular.

  6. #6
    Valued Forum Contributor squiggler47's Avatar
    Join Date
    02-17-2009
    Location
    Littleborough, UK
    MS-Off Ver
    Excel 3.0 to 2007+2010! (couldnt get 2.1 working)
    Posts
    1,013

    Re: Calculate distance of latitude/longitude points

    Regards
    Darren

    Update 12-Nov-2010 Still job hunting!

    If you are happy with the results, please add to our reputation by clicking the blue scales icon in the blue bar of the post.

    Learn something new each day, Embrace change do not fear it, evolve and do not become extinct!


+ 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