+ Reply to Thread
Results 1 to 6 of 6

Calc distance between point and nearest point of defined group of points (UTM coords)

  1. #1
    Registered User
    Join Date
    03-04-2020
    Location
    Cologne
    MS-Off Ver
    Office 365 (Win 10 - Work)
    Posts
    15

    Calc distance between point and nearest point of defined group of points (UTM coords)

    Hey folks,

    I'm struggling with determine the minimum distance between a point (defined by two UTM coordinates in meters = north and east) and a group of points (each point also defined by two coordinates).

    Assuming a plane surface and neglecting the earth's curvature, I can calculate the distance to the geographic center of the group of points by averaging the north and souths coordinates.

    I uploaded an example illustrating above.

    Any idea would be helpful.
    Thanks
    Attached Files Attached Files
    Last edited by dridlebert; 09-15-2022 at 05:56 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: Calc distance between point and nearest point of defined group of points (UTM coords)

    Please tell us what results (values) you are expecting and why.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    03-04-2020
    Location
    Cologne
    MS-Off Ver
    Office 365 (Win 10 - Work)
    Posts
    15

    Re: Calc distance between point and nearest point of defined group of points (UTM coords)

    For each point outside the group I want to calculate the distance in meters to the nearest point of the group. This is required to ultimately filter out all points outside the group which are located further than X kilometer. My current method (checking vs. the group's center) is too inaccurate as the spread/dimension of point of the group varies.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,865

    Re: Calc distance between point and nearest point of defined group of points (UTM coords)

    VALUES (numbers), please!

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    D
    E
    10
    7583.2
    Value expected?
    11
    7650.9
    Value expected?
    12
    8392.4
    Value expected?
    13
    8039.7
    Value expected?
    14
    6835.4
    Value expected?
    Sheet: Sheet1

  5. #5
    Valued Forum Contributor
    Join Date
    07-23-2013
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    988

    Re: Calc distance between point and nearest point of defined group of points (UTM coords)

    Try this in E10:

    =MIN(SQRT((B10-FILTER($B$4:$B$14,$A$4:$A$14="Part of group"))^2+(C10-FILTER($C$4:$C$14,$A$4:$A$14="Part of group"))^2))

  6. #6
    Registered User
    Join Date
    03-04-2020
    Location
    Cologne
    MS-Off Ver
    Office 365 (Win 10 - Work)
    Posts
    15

    Re: Calc distance between point and nearest point of defined group of points (UTM coords)

    Perfect, that was exactly what I was looking for. I double checked the results with a GIS. Thanks nick!
    Last edited by AliGW; 09-15-2022 at 05:58 AM. Reason: Please DON'T quote unnecessarily!

+ 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. [SOLVED] What is the distance of a point to the best-fit plane defined by a cloud of points?
    By bmark0225 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-01-2021, 03:08 AM
  2. X and Y coordinates, locating closest Point to point distance.
    By Erav in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-13-2020, 04:02 PM
  3. [SOLVED] Match X,Y point in list 1 to nearest X,Y point in list 2
    By hamang in forum Excel General
    Replies: 3
    Last Post: 06-19-2019, 08:49 AM
  4. Replies: 7
    Last Post: 06-09-2017, 08:54 AM
  5. Replies: 0
    Last Post: 08-06-2013, 10:59 AM
  6. Replies: 5
    Last Post: 10-23-2011, 03:44 PM
  7. Replies: 1
    Last Post: 11-05-2009, 04:33 PM

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