Solved

distances

Posted on 2000-03-17
1
288 Views
Last Modified: 2010-05-02
I have a list of points (x,y) in a sheet of excel and the correspondent scatter graph. Can you tell me how to get the distances between the points.
0
Comment
Question by:sofiaf
1 Comment
 
LVL 1

Accepted Solution

by:
phiro earned 100 total points
Comment Utility
Point one = (x1, y1)
Point two = (x2, y2)
Result is R2

Distance is :
R2  = (x2-x1)^2 + (y2-y1)^2

So your distance is the result squared.
Distance = R2 ^ 1/2

(Good ole Pythogoras)

Of course this is assuming you work in a orthogonal space (the x and y axis' are at a 90 degrees angle)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now