You know slope and intercept of fitted line, and coordinates of point,
so you can calculate dx and dy, the horizontal and vertical distance
from point to line. By similar triangles, the shortest distance h from
line to point is:
h = dx dy / SQRT[(dx)^2 + (dy)^2]
- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______
Winny wrote:
Hi all,
First post for me on here.
I have some Excel charts, with least squares fit lines through the
data. On each chart I have a single extra data point (it's own series)
and I want to know the perpendicular distance from the line to this
point.
This is a physical distance in the real world, as my axes are both in
milimeters but to different scales.
Thanks for any help.
--Winny