Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Using Excel to check CoOrdinates

I have sets of coordinates which contain
3 points in each set.

Can anyone suggest how I can test if
all 3 points are collinear (to within say 3 or 4 decimal places)

Or can anyone show me how to simply display
the formula for the line using each pair of points in turn
and displaying all 3 formulas. In the form y=mx+b

Any help would be much appreciated.

Thanks

CharlesW


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 983
Default Using Excel to check CoOrdinates

There are two function in excel that you need. Slope and intercept. I will
assume they need no expanation. Assume your co-ordinates look like this
(starting in Cell A1):

Point X Point Y
1 3
2.5 4
3 5

=B4-(A4*SLOPE(B2:B3, A2:A3)+INTERCEPT(B2:B3, A2:A3))

This shows that the two sets are not co-linear by .667. Remove the B4 and
you will see where the intercept should be...

HTH

" wrote:

I have sets of coordinates which contain
3 points in each set.

Can anyone suggest how I can test if
all 3 points are collinear (to within say 3 or 4 decimal places)

Or can anyone show me how to simply display
the formula for the line using each pair of points in turn
and displaying all 3 formulas. In the form y=mx+b

Any help would be much appreciated.

Thanks

CharlesW



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two points with same (X, Y) coordinates in Excel Jay New Users to Excel 1 October 20th 06 01:41 AM
random coordinates in excel? kh Excel Discussion (Misc queries) 1 August 26th 06 01:22 PM
Excel coordinates wysz Charts and Charting in Excel 3 October 15th 05 04:55 AM
Simple way to convert UTM ED50 coordinates to decimal coordinates? Dan[_38_] Excel Programming 8 July 11th 04 04:54 PM
Converting MouseDown Coordinates to Chart Point Coordinates Steve[_50_] Excel Programming 3 December 2nd 03 06:48 PM


All times are GMT +1. The time now is 11:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"