+ Reply to Thread
Results 1 to 5 of 5

How to calculate distance between coordinates

  1. #1
    Registered User
    Join Date
    10-01-2015
    Location
    japan
    MS-Off Ver
    2013
    Posts
    1

    How to calculate distance between coordinates

    Dear guys,
    If I have the x and Y coordinates for the centroids of a moving polygonal, and I want to find the distance travelled by this polygonal on a flat surface.
    How I can calculate it using excel
    please check the attached pic, this represents the path travelled by my polygonal, each point composed of the x and y coordinates for each centroid, numbers should be true, so I am looking for how to calculate the distance between each 2 points from these numbers on graph

    please can you help me

    Presentation1.jpg
    Madelin

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: How to calculate distance between coordinates

    Do you want total distance or final distance?

    For final distance use distance math formula

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Where B2 and B3 are X values
    and C2 and C3 are Y values of first and last point

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: How to calculate distance between coordinates

    For total distance use distance of each set of points and then SUM them.

  4. #4
    Forum Expert newdoverman's Avatar
    Join Date
    02-07-2013
    Location
    Port Dover, Ontario, Canada
    MS-Off Ver
    2010
    Posts
    10,330

    Re: How to calculate distance between coordinates

    Just for the "fun of it", I guessed at the values in the picture and created a table out of approximately half of your graph. I used zbor's formula using my guessed values and then created a scatter plot.

    The result, I think, is interesting as an exercise.
    Attached Files Attached Files
    <---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.
    Ron W

  5. #5
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,596

    Re: How to calculate distance between coordinates

    And if you put all points in line then total and final results will be same.
    See your example.

    Final distance is in E1
    Total distance is in E17
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. calculate the minimum distance between two sets of coordinates
    By ae711 in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 03-11-2015, 03:09 AM
  2. Replies: 1
    Last Post: 08-27-2014, 04:30 PM
  3. [SOLVED] geo-coordinates distance issue
    By dmitrij in forum Excel General
    Replies: 1
    Last Post: 02-20-2014, 09:58 AM
  4. Distance between Coordinates
    By dustinh48625 in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-11-2013, 09:17 PM
  5. Replies: 7
    Last Post: 07-29-2013, 04:51 PM
  6. Coordinates and Distance formula
    By cporter5 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-24-2010, 06:41 PM
  7. Distance between two sets of coordinates.
    By Marcus Fox in forum Excel General
    Replies: 2
    Last Post: 03-20-2006, 12:40 AM

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