Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How to find intersection points between lines using Excel?

I need to find out intersection point between few (100 to be exact) parallel
lines with a another line. How could I program this using excel so that i can
view both X and Y coordinates in different column??

thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default How to find intersection points between lines using Excel?

find the intersection of the topmost line, then it is just a matter of
adjusting for the distance between the parallel lines and the angle of
intersection.

Probably could be done with worksheet formulas, but you provide no
information.

--
Regards,
Tom Ogilvy




"Saurabh" wrote:

I need to find out intersection point between few (100 to be exact) parallel
lines with a another line. How could I program this using excel so that i can
view both X and Y coordinates in different column??

thanks

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default How to find intersection points between lines using Excel?

sorry for not providing the other infor mation but i am a beginner at using
excel sheet..it would be really helpful if you could elaborate on this..what
if i need to find out intersection points between lines of different slope
with one line...
thanks

"Tom Ogilvy" wrote:

find the intersection of the topmost line, then it is just a matter of
adjusting for the distance between the parallel lines and the angle of
intersection.

Probably could be done with worksheet formulas, but you provide no
information.

--
Regards,
Tom Ogilvy




"Saurabh" wrote:

I need to find out intersection point between few (100 to be exact) parallel
lines with a another line. How could I program this using excel so that i can
view both X and Y coordinates in different column??

thanks

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default How to find intersection points between lines using Excel?

Assume the topmost or one of the 100 lines is

Y = 3X + 5

and the intersecting line is

Y = -6X - 10

then
3x + 5 = -6X - 10

9x = -15
x = -15/9
x = -3/5


substituting in to the first equation

y = 3 * (-3/5) + 5 = 0

So the equations for the parallel lines are just going to vary by the Y
intercept.

but the general form will be

x = (-5 - YIntercept)/ 9
and for y:

y = 3x - YIntercept
so
y = 3[(-5 - YIntercept)/9] + YIntercept

so you can use these to build your solutions.

--
Regards,
Tom Ogilvy




"Saurabh" wrote:

sorry for not providing the other infor mation but i am a beginner at using
excel sheet..it would be really helpful if you could elaborate on this..what
if i need to find out intersection points between lines of different slope
with one line...
thanks

"Tom Ogilvy" wrote:

find the intersection of the topmost line, then it is just a matter of
adjusting for the distance between the parallel lines and the angle of
intersection.

Probably could be done with worksheet formulas, but you provide no
information.

--
Regards,
Tom Ogilvy




"Saurabh" wrote:

I need to find out intersection point between few (100 to be exact) parallel
lines with a another line. How could I program this using excel so that i can
view both X and Y coordinates in different column??

thanks

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
Intersection of two lines akr Charts and Charting in Excel 3 April 4th 23 12:39 PM
intersection points tinga Excel Discussion (Misc queries) 2 October 31st 08 08:10 AM
intersection of two lines defined by points Leslie Excel Worksheet Functions 7 November 15th 07 08:16 PM
How do I round border intersection points (vs. 90 degree angles)? BrandonG Excel Discussion (Misc queries) 1 July 2nd 07 11:27 PM
how to find intersections points of lines in charts Ani Charts and Charting in Excel 1 February 6th 06 01:22 PM


All times are GMT +1. The time now is 10:08 PM.

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

About Us

"It's about Microsoft Excel"