Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 22
Default Intersection of two lines

Dear friends:

I am having EXCEL2003.

Given two sets of points (2 points per set), I am able to draw two lines.
Unfortunately, the two lines do not intersect.

How can I EXTEND these lines so that I can read (or return by XL) the
intersection point off the chart?

Thanks.


Lee CC
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4,393
Default Intersection of two lines

You could chart the two data series with only makers (no lines) then add
trendlines to each data series to see where they cross.

But it is easier to do it with math.
For each pair of data points, use SLOPE and INTERCEPT to find the slope and
intercept of the lines that passes thru them
Let these be m1,b1 and m2,b2
Let X,Y be the point of intersection. Since this point is on both lines
m1X+b1 = m2X+b2
So find X with X= (b2-b1)/(m1-m2)
Get Y with Y = m1X + b1

Send me a private email (remove TRUENORTH.) with the data and I will return
a workbook showing both methods
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"LeeCC" wrote in message
...
Dear friends:

I am having EXCEL2003.

Given two sets of points (2 points per set), I am able to draw two lines.
Unfortunately, the two lines do not intersect.

How can I EXTEND these lines so that I can read (or return by XL) the
intersection point off the chart?

Thanks.


Lee CC



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 22
Default Intersection of two lines

Hello! Bernard

Thanks for the prompt reply and the earnest helps.

I can solve it with algebra. But the challenge to this exercise is to use
ONLY EXCEL to solve the intersection.

(note: I already added the trendline under the XY scatter plot.
Unfortunately the given points made the two lines too short to cut).


Lee CC
---------------------------------------------------------------
"Bernard Liengme" wrote:

You could chart the two data series with only makers (no lines) then add
trendlines to each data series to see where they cross.

But it is easier to do it with math.
For each pair of data points, use SLOPE and INTERCEPT to find the slope and
intercept of the lines that passes thru them
Let these be m1,b1 and m2,b2
Let X,Y be the point of intersection. Since this point is on both lines
m1X+b1 = m2X+b2
So find X with X= (b2-b1)/(m1-m2)
Get Y with Y = m1X + b1

Send me a private email (remove TRUENORTH.) with the data and I will return
a workbook showing both methods
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"LeeCC" wrote in message
...
Dear friends:

I am having EXCEL2003.

Given two sets of points (2 points per set), I am able to draw two lines.
Unfortunately, the two lines do not intersect.

How can I EXTEND these lines so that I can read (or return by XL) the
intersection point off the chart?

Thanks.


Lee CC




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4,393
Default Intersection of two lines

But trendlines can be extended. Right click the trendline and select Format
Trendline; then on the Options tab look for 'extend forwards and backwards'

I was using Excel also (I was doing algebra with Excel - doesn't that count
for this homework?)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"LeeCC" wrote in message
...
Hello! Bernard

Thanks for the prompt reply and the earnest helps.

I can solve it with algebra. But the challenge to this exercise is to use
ONLY EXCEL to solve the intersection.

(note: I already added the trendline under the XY scatter plot.
Unfortunately the given points made the two lines too short to cut).


Lee CC
---------------------------------------------------------------
"Bernard Liengme" wrote:

You could chart the two data series with only makers (no lines) then add
trendlines to each data series to see where they cross.

But it is easier to do it with math.
For each pair of data points, use SLOPE and INTERCEPT to find the slope
and
intercept of the lines that passes thru them
Let these be m1,b1 and m2,b2
Let X,Y be the point of intersection. Since this point is on both lines
m1X+b1 = m2X+b2
So find X with X= (b2-b1)/(m1-m2)
Get Y with Y = m1X + b1

Send me a private email (remove TRUENORTH.) with the data and I will
return
a workbook showing both methods
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"LeeCC" wrote in message
...
Dear friends:

I am having EXCEL2003.

Given two sets of points (2 points per set), I am able to draw two
lines.
Unfortunately, the two lines do not intersect.

How can I EXTEND these lines so that I can read (or return by XL) the
intersection point off the chart?

Thanks.


Lee CC






  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 22
Default Intersection of two lines


Thank you. Manage to EXTEND the lines with your valuable advice.

Never expect "Forecast Forward" (in XL2003) means EXTENSION! My God!

Thanks again.


Lee CC
----------------------------------------------------------
"Bernard Liengme" wrote:

But trendlines can be extended. Right click the trendline and select Format
Trendline; then on the Options tab look for 'extend forwards and backwards'

I was using Excel also (I was doing algebra with Excel - doesn't that count
for this homework?)
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"LeeCC" wrote in message
...
Hello! Bernard

Thanks for the prompt reply and the earnest helps.

I can solve it with algebra. But the challenge to this exercise is to use
ONLY EXCEL to solve the intersection.

(note: I already added the trendline under the XY scatter plot.
Unfortunately the given points made the two lines too short to cut).


Lee CC
---------------------------------------------------------------
"Bernard Liengme" wrote:

You could chart the two data series with only makers (no lines) then add
trendlines to each data series to see where they cross.

But it is easier to do it with math.
For each pair of data points, use SLOPE and INTERCEPT to find the slope
and
intercept of the lines that passes thru them
Let these be m1,b1 and m2,b2
Let X,Y be the point of intersection. Since this point is on both lines
m1X+b1 = m2X+b2
So find X with X= (b2-b1)/(m1-m2)
Get Y with Y = m1X + b1

Send me a private email (remove TRUENORTH.) with the data and I will
return
a workbook showing both methods
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"LeeCC" wrote in message
...
Dear friends:

I am having EXCEL2003.

Given two sets of points (2 points per set), I am able to draw two
lines.
Unfortunately, the two lines do not intersect.

How can I EXTEND these lines so that I can read (or return by XL) the
intersection point off the chart?

Thanks.


Lee CC








  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 3,346
Default Intersection of two lines

You can solve Bernard's formulas using Excel, you just need to write them
with cell addresses.

Also, there is a spreadsheet function called TREND which calculated a
trendline value in the spreadsheet. You might also look at the SLOPE,
INTERCEPT, and LINEST functions.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"LeeCC" wrote:

Hello! Bernard

Thanks for the prompt reply and the earnest helps.

I can solve it with algebra. But the challenge to this exercise is to use
ONLY EXCEL to solve the intersection.

(note: I already added the trendline under the XY scatter plot.
Unfortunately the given points made the two lines too short to cut).


Lee CC
---------------------------------------------------------------
"Bernard Liengme" wrote:

You could chart the two data series with only makers (no lines) then add
trendlines to each data series to see where they cross.

But it is easier to do it with math.
For each pair of data points, use SLOPE and INTERCEPT to find the slope and
intercept of the lines that passes thru them
Let these be m1,b1 and m2,b2
Let X,Y be the point of intersection. Since this point is on both lines
m1X+b1 = m2X+b2
So find X with X= (b2-b1)/(m1-m2)
Get Y with Y = m1X + b1

Send me a private email (remove TRUENORTH.) with the data and I will return
a workbook showing both methods
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"LeeCC" wrote in message
...
Dear friends:

I am having EXCEL2003.

Given two sets of points (2 points per set), I am able to draw two lines.
Unfortunately, the two lines do not intersect.

How can I EXTEND these lines so that I can read (or return by XL) the
intersection point off the chart?

Thanks.


Lee CC




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
How do i locate the point of intersection of two lines graphs Nana Adwoa Charts and Charting in Excel 4 April 2nd 23 07:58 PM
Intersection Excel User 123456 Excel Discussion (Misc queries) 3 June 5th 08 10:34 PM
intersection of two lines defined by points Leslie Excel Worksheet Functions 7 November 15th 07 08:16 PM
Intersection help Ray Excel Discussion (Misc queries) 3 September 5th 07 04:15 PM


All times are GMT +1. The time now is 05:59 AM.

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"