+ Reply to Thread
Results 1 to 4 of 4

Dist calculation

  1. #1
    Forum Contributor
    Join Date
    09-14-2012
    Location
    mumbai,india
    MS-Off Ver
    Excel 2003
    Posts
    367

    Dist calculation

    Hello Everyone.

    I am trying to Dist. from "X" "Y" coord.

    Dist. formula I know, I can find the length from the dist.,

    Thank you in advance.
    Last edited by sanju2323; 03-21-2016 at 10:06 AM.

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft? Excel? for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,005

    Re: Length calculation from X Y coordinate

    Try

    =SUMPRODUCT(SQRT(($A3:$A$24-$A$2:$A$23)^2+($B$3:$B$24-$B$2:$B$23)^2))

  3. #3
    Forum Contributor
    Join Date
    09-14-2012
    Location
    mumbai,india
    MS-Off Ver
    Excel 2003
    Posts
    367

    Re: Length calculation from X Y coordinate

    JohnTopley, It's working very well Thank you so much

  4. #4
    Forum Contributor
    Join Date
    09-14-2012
    Location
    mumbai,india
    MS-Off Ver
    Excel 2003
    Posts
    367

    Re: Length calculation from X Y coordinate

    Sir, you made a very good formula, but it is possible from long or short coordinate to get automatic length without set last range.

    Every time I have to change is the last range for different file.

    =SUMPRODUCT(SQRT(($A3:$A$24-$A$2:$A$23)^2+($B$3:$B$24-$B$2:$B$23)^2))
    Last edited by sanju2323; 03-12-2016 at 11:56 AM.

+ 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] Shorten string length if exceeds 31 characters (max sheet name length)
    By r2fro in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-03-2014, 05:57 AM
  2. Replies: 4
    Last Post: 01-26-2014, 12:33 PM
  3. Repeat Calculation At Length & Calculate Lowest Value At Length
    By sanju2323 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-17-2013, 09:19 AM
  4. perform a calculation on subsets of data of varying length
    By smokebreak in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-24-2010, 07:58 AM
  5. return value of X coordinate and Y coordinate?
    By sbmoller in forum Excel General
    Replies: 1
    Last Post: 09-22-2007, 06:54 AM
  6. length Calculation
    By bnwash in forum Excel General
    Replies: 9
    Last Post: 06-28-2007, 08:46 PM
  7. Length Calculation
    By Lee in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 08-13-2005, 10:05 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